Skip to content

Commit f72f53c

Browse files
committed
bump rand so that the test passes
1 parent 8f670e6 commit f72f53c

File tree

3 files changed

+67
-118
lines changed

3 files changed

+67
-118
lines changed

test-cargo-miri/Cargo.lock

Lines changed: 65 additions & 116 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-cargo-miri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88
byteorder = "1.0"
99

1010
[dev-dependencies]
11-
rand = "0.6.5"
11+
rand = { version = "0.7.0-pre.0", features = ["small_rng"] }

test-cargo-miri/tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use rand::{FromEntropy, Rng, rngs::SmallRng};
1+
use rand::{SeedableRng, Rng, rngs::SmallRng};
22

33
// Having more than 1 test does seem to make a difference
44
// (i.e., this calls ptr::swap which having just one test does not).

0 commit comments

Comments
 (0)