Skip to content

Commit 5f26df3

Browse files
committed
Fixup test-cargo-miri
1 parent cf65287 commit 5f26df3

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

test-cargo-miri/Cargo.lock

Lines changed: 2 additions & 21 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ issue_1760 = { path = "issue-1760" }
1818
issue_rust_86261 = { path = "issue-rust-86261" }
1919

2020
[dev-dependencies]
21+
rand = { version = "0.8", features = ["small_rng"] }
2122
serde_derive = "1.0" # not actually used, but exercises some unique code path (`--extern` .so file)
2223
page_size = "0.4.1"
2324

test-cargo-miri/tests/test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use rand::{rngs::SmallRng, Rng, SeedableRng};
2-
31
// Having more than 1 test does seem to make a difference
42
// (i.e., this calls ptr::swap which having just one test does not).
53
#[test]

0 commit comments

Comments
 (0)