Skip to content

Commit 62591ed

Browse files
committed
update Rust, needs toml file adjustments
1 parent 6c07e68 commit 62591ed

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

alloc_miri_test/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ path = "../library/alloc/src/lib.rs"
1515
default = ["miri-test-libstd"]
1616
miri-test-libstd = []
1717

18-
[dev-dependencies]
19-
rand = "0.7"
20-
rand_xorshift = "0.2"
21-
# This lets tests access the `core` and `alloc` crates.
18+
[dependencies]
19+
# This lets the crate access the `core` and `alloc` crates.
2220
core = { path = "../fake/core" }
2321
alloc = { path = "../fake/alloc" }
2422

23+
[dev-dependencies]
24+
rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
25+
rand_xorshift = "0.3.0"
26+
2527
[[test]]
2628
name = "collectionstests"
2729
path = "../library/alloc/tests/lib.rs"

core_miri_test/Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ miri-test-libstd = []
2222
name = "coretests"
2323
path = "../library/core/tests/lib.rs"
2424

25-
[dev-dependencies]
26-
rand = "0.7"
27-
# This lets tests access the `core` crate.
25+
[dependencies]
26+
# This lets the crate access the `core` crate.
2827
core = { path = "../fake/core" }
28+
29+
[dev-dependencies]
30+
rand = { version = "0.8.5", default-features = false }
31+
rand_xorshift = { version = "0.3.0", default-features = false }

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-12-25
1+
nightly-2023-01-09

std_miri_test/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ std_detect = { path = "../fake/std_detect" }
2626
rustc-demangle = { path = "../fake/rustc-demangle" }
2727

2828
[dev-dependencies]
29-
rand = "0.7"
29+
rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
30+
rand_xorshift = "0.3.0"
3031

3132
[features]
3233
# Empty this crate

0 commit comments

Comments
 (0)