diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-01-14 09:50:49 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-01-28 15:01:07 +0100 |
| commit | 5b3462c556932234c6bae24c6f90c55a463f23c3 (patch) | |
| tree | 15271c9b25b59b2ea8a2b82b2803637201d208dc /library/alloc/src | |
| parent | 970e603006db3e80b85252663588b7d34e932f10 (diff) | |
| download | rust-5b3462c556932234c6bae24c6f90c55a463f23c3.tar.gz rust-5b3462c556932234c6bae24c6f90c55a463f23c3.zip | |
update cfg(bootstrap)s
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/lib.rs | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 1cbc2b65f4d..dfd3771c1d0 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -67,17 +67,14 @@ issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/", test(no_crate_inject, attr(allow(unused_variables), deny(warnings))) )] -#![cfg_attr( - not(bootstrap), - doc(cfg_hide( - not(test), - not(any(test, bootstrap)), - any(not(feature = "miri-test-libstd"), test, doctest), - no_global_oom_handling, - not(no_global_oom_handling), - target_has_atomic = "ptr" - )) -)] +#![doc(cfg_hide( + not(test), + not(any(test, bootstrap)), + any(not(feature = "miri-test-libstd"), test, doctest), + no_global_oom_handling, + not(no_global_oom_handling), + target_has_atomic = "ptr" +))] #![no_std] #![needs_allocator] // @@ -151,7 +148,6 @@ #![feature(const_precise_live_drops)] #![feature(const_trait_impl)] #![feature(const_try)] -#![cfg_attr(bootstrap, feature(destructuring_assignment))] #![feature(dropck_eyepatch)] #![feature(exclusive_range_pattern)] #![feature(fundamental)] |
