File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -178,15 +178,13 @@ macro_rules! __thread_local_inner {
178
178
179
179
#[ cfg( any( not( any( target_os = "macos" , target_os = "linux" ) ) , target_arch = "aarch64" ) ) ]
180
180
const _INIT: :: std:: thread:: __local:: __impl:: KeyInner <$t> = {
181
- unsafe extern fn __destroy( ptr: * mut u8 ) {
182
- :: std:: thread:: __local:: __impl:: destroy_value:: <$t>( ptr) ;
183
- }
184
-
185
181
:: std:: thread:: __local:: __impl:: KeyInner {
186
182
inner: :: std:: cell:: UnsafeCell { value: $init } ,
187
183
os: :: std:: thread:: __local:: __impl:: OsStaticKey {
188
184
inner: :: std:: thread:: __local:: __impl:: OS_INIT_INNER ,
189
- dtor: :: std:: option:: Option :: Some ( __destroy as unsafe extern fn ( * mut u8 ) ) ,
185
+ dtor: :: std:: option:: Option :: Some (
186
+ :: std:: thread:: __local:: __impl:: destroy_value:: <$t>
187
+ ) ,
190
188
} ,
191
189
}
192
190
} ;
You can’t perform that action at this time.
0 commit comments