File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ edition = "2018"
10
10
name = " alloc_miri_test"
11
11
path = " ../liballoc/src/lib.rs"
12
12
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
+
13
19
[dependencies ]
14
20
15
21
[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ path = "../libcore/src/lib.rs"
12
12
test = false
13
13
bench = false
14
14
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
+
15
21
[[test ]]
16
22
name = " coretests"
17
23
path = " ../libcore/tests/lib.rs"
You can’t perform that action at this time.
0 commit comments