We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a4b7e commit 8fcd7f9Copy full SHA for 8fcd7f9
library/std/src/sys/unix/thread_local_dtor.rs
@@ -4,6 +4,10 @@
4
//! Provides thread-local destructors without an associated "key", which
5
//! can be more efficient.
6
7
+#[allow(unexpected_cfgs)]
8
+#[cfg(sanitizer_cfi_normalize_integers)]
9
+use core::ffi::c_int;
10
+
11
// Since what appears to be glibc 2.18 this symbol has been shipped which
12
// GCC and clang both use to invoke destructors in thread_local globals, so
13
// let's do the same!
0 commit comments