1 #![cfg(target_thread_local)]
2 #![unstable(feature = "thread_local_internals", issue = "none")]
4 pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
5 use crate::sys_common::thread_local_dtor::register_dtor_fallback;
6 register_dtor_fallback(t, dtor);