We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a4b7e commit 55e3dc4Copy full SHA for 55e3dc4
library/std/src/sys/unix/thread_local_dtor.rs
@@ -23,6 +23,8 @@ pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
23
/// This is necessary because the __cxa_thread_atexit_impl implementation
24
/// std links to by default may be a C or C++ implementation that was not
25
/// compiled using the Clang integer normalization option.
26
+ #[cfg(sanitizer_cfi_normalize_integers)]
27
+ use core::ffi::c_int;
28
#[cfg(not(sanitizer_cfi_normalize_integers))]
29
#[cfi_encoding = "i"]
30
#[repr(transparent)]
0 commit comments