about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorJosh Stone <cuviper@gmail.com>2025-06-02 14:30:00 -0700
committerJosh Stone <cuviper@gmail.com>2025-06-02 14:46:19 -0700
commitc87b072952b75f2cfb05882efca49c58894f20aa (patch)
tree1f36367dd48b5a25bf99d96a02d06bfe271a13ec /library/std
parent19e02c82119cf25f92fe6325d7caa483fa84b4bb (diff)
downloadrust-c87b072952b75f2cfb05882efca49c58894f20aa.tar.gz
rust-c87b072952b75f2cfb05882efca49c58894f20aa.zip
Remove more library bootstrap
Diffstat (limited to 'library/std')
-rw-r--r--library/std/Cargo.toml1
-rw-r--r--library/std/src/lib.rs7
2 files changed, 1 insertions, 7 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 31371f06b38..196b904d56a 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -157,7 +157,6 @@ test = true
 [lints.rust.unexpected_cfgs]
 level = "warn"
 check-cfg = [
-    'cfg(bootstrap)',
     # std use #[path] imports to portable-simd `std_float` crate
     # and to the `backtrace` crate which messes-up with Cargo list
     # of declared features, we therefor expect any feature cfg
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index f729c2ab433..7c54e731edc 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -235,12 +235,7 @@
     test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
 )]
 #![doc(rust_logo)]
-#![doc(cfg_hide(
-    not(test),
-    not(any(test, bootstrap)),
-    no_global_oom_handling,
-    not(no_global_oom_handling)
-))]
+#![doc(cfg_hide(not(test), no_global_oom_handling, not(no_global_oom_handling)))]
 // Don't link to std. We are std.
 #![no_std]
 // Tell the compiler to link to either panic_abort or panic_unwind