remove miri-test-libstd hacks that are no longer needed
This commit is contained in:
parent
23d47dba31
commit
a2799ef869
3 changed files with 2 additions and 18 deletions
|
@ -212,13 +212,7 @@
|
|||
//! [rust-discord]: https://discord.gg/rust-lang
|
||||
//! [array]: prim@array
|
||||
//! [slice]: prim@slice
|
||||
// To run std tests without x.py without ending up with two copies of std, 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))]
|
||||
// miri-test-libstd also prefers to make std use the sysroot versions of the dependencies.
|
||||
#![cfg_attr(feature = "miri-test-libstd", feature(rustc_private))]
|
||||
//
|
||||
|
||||
#![cfg_attr(not(feature = "restricted-std"), stable(feature = "rust1", since = "1.0.0"))]
|
||||
#![cfg_attr(feature = "restricted-std", unstable(feature = "restricted_std", issue = "none"))]
|
||||
#![cfg_attr(not(bootstrap), rustc_preserve_ub_checks)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue