Skip to content

Commit 0bc2ad5

Browse files
committed
Test getrandom 0.3
1 parent acf2ccc commit 0bc2ad5

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

test_dependencies/Cargo.lock

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

test_dependencies/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ cfg-if = "1"
1515

1616
getrandom_01 = { package = "getrandom", version = "0.1" }
1717
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
18+
getrandom_03 = { package = "getrandom", version = "0.3" }
1819

1920
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
2021
tempfile = "3"

tests/pass-dep/getrandom.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@revisions: isolation no_isolation
44
//@[no_isolation]compile-flags: -Zmiri-disable-isolation
55

6-
/// Test direct calls of getrandom 0.1 and 0.2.
6+
/// Test direct calls of getrandom 0.1, 0.2 and 0.3.
77
fn main() {
88
let mut data = vec![0; 16];
99

@@ -13,4 +13,6 @@ fn main() {
1313
getrandom_01::getrandom(&mut data).unwrap();
1414

1515
getrandom_02::getrandom(&mut data).unwrap();
16+
17+
getrandom_03::fill(&mut data).unwrap();
1618
}

0 commit comments

Comments
 (0)