Skip to content

Commit 9cda1ae

Browse files
committed
Fix alloc.
1 parent f9567ff commit 9cda1ae

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

alloc_miri_test/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "alloc_miri_test"
2+
name = "alloc"
33
version = "0.0.0"
44
autotests = false
55
autobenches = false
@@ -10,9 +10,9 @@ rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
1010
rand_xorshift = "0.3.0"
1111

1212
[[test]]
13-
name = "alloc"
13+
name = "alloc-lib"
1414
path = "../library/alloc/src/lib.rs"
1515

1616
[[test]]
17-
name = "alloctests"
17+
name = "alloc-tests"
1818
path = "../library/alloc/tests/lib.rs"

fake/alloc/Cargo.toml

Lines changed: 0 additions & 7 deletions
This file was deleted.

fake/alloc/lib.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

std_miri_test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ path = "../library/std/src/lib.rs"
1717
# just a bunch of fake crates that reeexport sysroot crates, so that std's imports work out
1818
# (this works because we only build std as a test; the regular crate build is
1919
# completely empty thanks to the `miri-test-libstd` feature below)
20-
alloc = { path = "../fake/alloc" }
20+
alloc = { path = "../alloc_miri_test" }
2121
cfg-if = { path = "../fake/cfg-if" }
2222
libc = { path = "../fake/libc" }
2323
hashbrown = { path = "../fake/hashbrown" }

0 commit comments

Comments
 (0)