File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ edition = "2018"
1010name = " alloc_miri_test"
1111path = " ../liballoc/src/lib.rs"
1212
13+ [features ]
14+ # Empty this crate to avoid two copies of liballoc.
15+ # See https://github.com/rust-lang/miri-test-libstd/issues/4.
16+ default = [" miri-test-libstd" ]
17+ miri-test-libstd = []
18+
1319[dependencies ]
1420
1521[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ path = "../libcore/src/lib.rs"
1212test = false
1313bench = false
1414
15+ [features ]
16+ # Empty this crate to avoid two copies of libcore.
17+ # See https://github.com/rust-lang/miri-test-libstd/issues/4.
18+ default = [" miri-test-libstd" ]
19+ miri-test-libstd = []
20+
1521[[test ]]
1622name = " coretests"
1723path = " ../libcore/tests/lib.rs"
Original file line number Diff line number Diff line change 1- nightly-2021-07-09
1+ nightly-2021-07-24
You can’t perform that action at this time.
0 commit comments