File tree 3 files changed +2
-18
lines changed
3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 56
56
//! [`Rc`]: rc
57
57
//! [`RefCell`]: core::cell
58
58
59
- // To run alloc tests without x.py without ending up with two copies of alloc, Miri needs to be
60
- // able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
61
- // rustc itself never sets the feature, so this line has no effect there.
62
- #![ cfg( any( not( feature = "miri-test-libstd" ) , test, doctest) ) ]
63
- //
64
59
#![ allow( unused_attributes) ]
65
60
#![ stable( feature = "alloc" , since = "1.36.0" ) ]
66
61
#![ doc(
71
66
#![ doc( cfg_hide(
72
67
not( test) ,
73
68
not( any( test, bootstrap) ) ,
74
- any( not( feature = "miri-test-libstd" ) , test, doctest) ,
75
69
no_global_oom_handling,
76
70
not( no_global_oom_handling) ,
77
71
not( no_rc) ,
Original file line number Diff line number Diff line change 57
57
//
58
58
// This cfg won't affect doc tests.
59
59
#![ cfg( not( test) ) ]
60
- // To run core tests without x.py without ending up with two copies of core, Miri needs to be
61
- // able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
62
- // rustc itself never sets the feature, so this line has no effect there.
63
- #![ cfg( any( not( feature = "miri-test-libstd" ) , test, doctest) ) ]
60
+ //
64
61
#![ stable( feature = "core" , since = "1.6.0" ) ]
65
62
#![ doc(
66
63
html_playground_url = "https://play.rust-lang.org/" ,
71
68
#![ doc( rust_logo) ]
72
69
#![ doc( cfg_hide(
73
70
not( test) ,
74
- any( not( feature = "miri-test-libstd" ) , test, doctest) ,
75
71
no_fp_fmt_parse,
76
72
target_pointer_width = "16" ,
77
73
target_pointer_width = "32" ,
Original file line number Diff line number Diff line change 212
212
//! [rust-discord]: https://discord.gg/rust-lang
213
213
//! [array]: prim@array
214
214
//! [slice]: prim@slice
215
- // To run std tests without x.py without ending up with two copies of std, Miri needs to be
216
- // able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
217
- // rustc itself never sets the feature, so this line has no effect there.
218
- #![ cfg( any( not( feature = "miri-test-libstd" ) , test, doctest) ) ]
219
- // miri-test-libstd also prefers to make std use the sysroot versions of the dependencies.
220
- #![ cfg_attr( feature = "miri-test-libstd" , feature( rustc_private) ) ]
221
- //
215
+
222
216
#![ cfg_attr( not( feature = "restricted-std" ) , stable( feature = "rust1" , since = "1.0.0" ) ) ]
223
217
#![ cfg_attr( feature = "restricted-std" , unstable( feature = "restricted_std" , issue = "none" ) ) ]
224
218
#![ cfg_attr( not( bootstrap) , rustc_preserve_ub_checks) ]
You can’t perform that action at this time.
0 commit comments