about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-06-10 17:44:14 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-09-27 11:29:49 +0200
commit254a2139f6c4b251d9210843d2e7d7952ef9f40d (patch)
treed14f3fdb7b9f26e308fb66de21e7530079d6756c /library/std/src/lib.rs
parentec00723ba153c72124f8271b6dc15540f23e6832 (diff)
downloadrust-254a2139f6c4b251d9210843d2e7d7952ef9f40d.tar.gz
rust-254a2139f6c4b251d9210843d2e7d7952ef9f40d.zip
Remove `cfg(bootstrap)` for `doc_cfg` feature following #141925
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 501c22cfb49..61b7d170b8b 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -235,11 +235,7 @@
     test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
 )]
 #![doc(rust_logo)]
-#![cfg_attr(
-    bootstrap,
-    doc(cfg_hide(not(test), no_global_oom_handling, not(no_global_oom_handling)))
-)]
-#![cfg_attr(not(bootstrap), doc(auto_cfg(hide(no_global_oom_handling))))]
+#![doc(auto_cfg(hide(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
@@ -274,7 +270,6 @@
 // tidy-alphabetical-start
 
 // stabilization was reverted after it hit beta
-#![cfg_attr(bootstrap, feature(doc_cfg_hide))]
 #![feature(alloc_error_handler)]
 #![feature(allocator_internals)]
 #![feature(allow_internal_unsafe)]