blob: 387ebd0520a71023465dfc8e4322323da44ae526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![cfg(target_thread_local)]
#![unstable(feature = "thread_local_internals", issue = "0")]
pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
use crate::sys_common::thread_local::register_dtor_fallback;
register_dtor_fallback(t, dtor);
}
pub fn requires_move_before_drop() -> bool {
false
}
|