File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5858
5959// To run alloc tests without x.py without ending up with two copies of alloc, Miri needs to be
6060// 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 affect there.
61+ // rustc itself never sets the feature, so this line has no effect there.
6262#![ cfg( any( not( feature = "miri-test-libstd" ) , test, doctest) ) ]
6363//
6464#![ allow( unused_attributes) ]
Original file line number Diff line number Diff line change 5151#![ cfg( not( test) ) ]
5252// To run core tests without x.py without ending up with two copies of core, Miri needs to be
5353// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
54- // rustc itself never sets the feature, so this line has no affect there.
54+ // rustc itself never sets the feature, so this line has no effect there.
5555#![ cfg( any( not( feature = "miri-test-libstd" ) , test, doctest) ) ]
5656#![ stable( feature = "core" , since = "1.6.0" ) ]
5757#![ doc(
Original file line number Diff line number Diff line change 190190
191191// To run std tests without x.py without ending up with two copies of std, Miri needs to be
192192// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
193- // rustc itself never sets the feature, so this line has no affect there.
193+ // rustc itself never sets the feature, so this line has no effect there.
194194#![ cfg( any( not( feature = "miri-test-libstd" ) , test, doctest) ) ]
195195// miri-test-libstd also prefers to make std use the sysroot versions of the dependencies.
196196#![ cfg_attr( feature = "miri-test-libstd" , feature( rustc_private) ) ]
You can’t perform that action at this time.
0 commit comments