Skip to content

Commit e4f87c6

Browse files
committed
Make miri-test-libstd unnecessary for core.
1 parent a0937b2 commit e4f87c6

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

core_miri_test/Cargo.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,14 @@ edition = "2021"
88

99
[lib]
1010
name = "core_miri_test"
11-
path = "../library/core/src/lib.rs"
11+
path = "../empty.rs"
1212
test = false
1313
bench = 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-
2115
[[test]]
2216
name = "coretests"
2317
path = "../library/core/tests/lib.rs"
2418

25-
[dependencies]
26-
# This lets the crate access the `core` crate.
27-
core = { path = "../fake/core" }
28-
2919
[dev-dependencies]
3020
rand = { version = "0.8.5", default-features = false }
3121
rand_xorshift = { version = "0.3.0", default-features = false }

empty.rs

Whitespace-only changes.

0 commit comments

Comments
 (0)