about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-04-06 09:03:19 +0200
committerRalf Jung <post@ralfj.de>2024-04-06 09:03:19 +0200
commita2799ef869ce5f0a25f29db983c20d0dcccd6527 (patch)
treed01df6394b3356480b8250ccd6877edb6e77d497 /library/alloc/src
parent23d47dba319331d4418827cfbb8c1af283497d3c (diff)
downloadrust-a2799ef869ce5f0a25f29db983c20d0dcccd6527.tar.gz
rust-a2799ef869ce5f0a25f29db983c20d0dcccd6527.zip
remove miri-test-libstd hacks that are no longer needed
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index cafd59cb0d9..e21479450c2 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -56,11 +56,6 @@
 //! [`Rc`]: rc
 //! [`RefCell`]: core::cell
 
-// To run alloc tests without x.py without ending up with two copies of alloc, Miri needs to be
-// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
-// rustc itself never sets the feature, so this line has no effect there.
-#![cfg(any(not(feature = "miri-test-libstd"), test, doctest))]
-//
 #![allow(unused_attributes)]
 #![stable(feature = "alloc", since = "1.36.0")]
 #![doc(
@@ -71,7 +66,6 @@
 #![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),
     not(no_rc),