Skip to content

Commit f786179

Browse files
committed
Update rand test
This contains a fix for a recently introduced warning.
1 parent 604c8a7 commit f786179

File tree

3 files changed

+25
-26
lines changed

3 files changed

+25
-26
lines changed

build_system/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ const BASE_SYSROOT_SUITE: &[TestCase] = &[
113113
pub(crate) static RAND_REPO: GitRepo = GitRepo::github(
114114
"rust-random",
115115
"rand",
116-
"9a02c819cc1e4ec6959ae25eafbb5cf6acb68234",
117-
"4934f0afb1d1c2ca",
116+
"1f4507a8e1cf8050e4ceef95eeda8f64645b6719",
117+
"981f8bf489338978",
118118
"rand",
119119
);
120120

patches/0001-rand-Allow-warnings.patch

-24
This file was deleted.

patches/rand-lock.toml

+23
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ dependencies = [
487487
"rand_pcg",
488488
"rayon",
489489
"serde",
490+
"zerocopy",
490491
]
491492

492493
[[package]]
@@ -505,6 +506,7 @@ version = "0.7.0"
505506
dependencies = [
506507
"getrandom",
507508
"serde",
509+
"zerocopy",
508510
]
509511

510512
[[package]]
@@ -525,6 +527,7 @@ name = "rand_pcg"
525527
version = "0.4.0"
526528
dependencies = [
527529
"bincode",
530+
"rand",
528531
"rand_core",
529532
"serde",
530533
]
@@ -823,3 +826,23 @@ name = "winapi-x86_64-pc-windows-gnu"
823826
version = "0.4.0"
824827
source = "registry+https://github.com/rust-lang/crates.io-index"
825828
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
829+
830+
[[package]]
831+
name = "zerocopy"
832+
version = "0.7.32"
833+
source = "registry+https://github.com/rust-lang/crates.io-index"
834+
checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be"
835+
dependencies = [
836+
"zerocopy-derive",
837+
]
838+
839+
[[package]]
840+
name = "zerocopy-derive"
841+
version = "0.7.32"
842+
source = "registry+https://github.com/rust-lang/crates.io-index"
843+
checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
844+
dependencies = [
845+
"proc-macro2",
846+
"quote",
847+
"syn 2.0.37",
848+
]

0 commit comments

Comments
 (0)