Skip to content

Commit fdf7d2d

Browse files
committed
fix alloc imports
1 parent a4a0fe8 commit fdf7d2d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

alloc_miri_test/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ miri-test-libstd = []
1818
[dev-dependencies]
1919
rand = "0.7"
2020
rand_xorshift = "0.2"
21+
# This lets tests access the `core` and `alloc` crates.
22+
core = { path = "../fake/core" }
23+
alloc = { path = "../fake/alloc" }
2124

2225
[[test]]
2326
name = "collectionstests"

core_miri_test/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ path = "../library/core/tests/lib.rs"
2424

2525
[dev-dependencies]
2626
rand = "0.7"
27+
# This lets tests access the `core` crate.
28+
core = { path = "../fake/core" }

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-09-15
1+
nightly-2022-10-22

0 commit comments

Comments
 (0)