diff options
| author | Ralf Jung <post@ralfj.de> | 2024-04-06 09:03:19 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-04-06 09:03:19 +0200 |
| commit | a2799ef869ce5f0a25f29db983c20d0dcccd6527 (patch) | |
| tree | d01df6394b3356480b8250ccd6877edb6e77d497 /library/alloc/src | |
| parent | 23d47dba319331d4418827cfbb8c1af283497d3c (diff) | |
| download | rust-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.rs | 6 |
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")] #