Skip to content

Commit d941c9b

Browse files
committed
CFI: Add missing use core::ffi::c_int
Adds missing use core::ffi::c_int for when sanitizer_cfi_normalize_integers is defined.
1 parent 07a4b7e commit d941c9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/sys/unix/thread_local_dtor.rs

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
//! Provides thread-local destructors without an associated "key", which
55
//! can be more efficient.
66
7+
use core::ffi::c_int;
8+
79
// Since what appears to be glibc 2.18 this symbol has been shipped which
810
// GCC and clang both use to invoke destructors in thread_local globals, so
911
// let's do the same!

0 commit comments

Comments
 (0)