diff options
| author | Michael Goulet <michael@errs.io> | 2023-12-26 13:29:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-26 13:29:13 -0500 |
| commit | 50e380c8f3e8bad3c6327895a2af8a99b378030b (patch) | |
| tree | 4bb7cf4538b8dd5ecfbb42855022b50b04c3695f /library/std/src/sys | |
| parent | e1fadb2c35a6082867a037f012bfdfc5eb686211 (diff) | |
| parent | c88b021782aff93102c8d449829a30210d67b2ab (diff) | |
| download | rust-50e380c8f3e8bad3c6327895a2af8a99b378030b.tar.gz rust-50e380c8f3e8bad3c6327895a2af8a99b378030b.zip | |
Rollup merge of #119235 - Urgau:missing-feature-gate-sanitizer-cfi-cfgs, r=Nilstrieb
Add missing feature gate for sanitizer CFI cfgs Found during the review of https://github.com/rust-lang/rust/pull/118494 in https://github.com/rust-lang/rust/pull/118494#discussion_r1416079288. cc `@rcvalle`
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", |
