We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94bc9c7 commit 3abef68Copy full SHA for 3abef68
library/std/src/sys/unix/thread_local_dtor.rs
@@ -67,7 +67,7 @@ pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
67
// workaround below is to register, via _tlv_atexit, a custom DTOR list once per
68
// thread. thread_local dtors are pushed to the DTOR list without calling
69
// _tlv_atexit.
70
-#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))]
+#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos", target_os = "tvos"))]
71
pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
72
use crate::cell::Cell;
73
use crate::mem;
0 commit comments