diff options
| author | Urgau <urgau@numericable.fr> | 2023-12-23 00:48:14 +0100 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2023-12-23 01:01:09 +0100 |
| commit | c88b021782aff93102c8d449829a30210d67b2ab (patch) | |
| tree | 43de9b50b6f71edc63f40a8d276fad2fc132b4ba /library/std/src/sys | |
| parent | cc6cbaad4b0b62796ccc27e50cd80a4a85b70add (diff) | |
| download | rust-c88b021782aff93102c8d449829a30210d67b2ab.tar.gz rust-c88b021782aff93102c8d449829a30210d67b2ab.zip | |
Adjust the std library for sanitizer_cfi cfgs changes
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/unix/thread_local_dtor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/thread_local_dtor.rs b/library/std/src/sys/unix/thread_local_dtor.rs index ac85531c372..58f7ab84101 100644 --- a/library/std/src/sys/unix/thread_local_dtor.rs +++ b/library/std/src/sys/unix/thread_local_dtor.rs @@ -11,7 +11,7 @@ // Note, however, that we run on lots older linuxes, as well as cross // compiling from a newer linux to an older linux, so we also have a // fallback implementation to use as well. -#[allow(unexpected_cfgs)] +#[cfg_attr(bootstrap, allow(unexpected_cfgs))] #[cfg(any( target_os = "linux", target_os = "android", |
