Skip to content

Commit 7a864c8

Browse files
committed
Update test repo versions
1 parent aea3bd6 commit 7a864c8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

build_system/tests.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,15 @@ const BASE_SYSROOT_SUITE: &[TestCase] = &[
9494
TestCase::build_bin_and_run("aot.issue-72793", "example/issue-72793.rs", &[]),
9595
];
9696

97+
// FIXME(rust-random/rand#1293): Newer rand versions fail to test on Windows. Update once this is
98+
// fixed.
9799
pub(crate) static RAND_REPO: GitRepo =
98-
GitRepo::github("rust-random", "rand", "0f933f9c7176e53b2a3c7952ded484e1783f0bf1", "rand");
100+
GitRepo::github("rust-random", "rand", "50b9a447410860af8d6db9a208c3576886955874", "rand");
99101

100102
pub(crate) static RAND: CargoProject = CargoProject::new(&RAND_REPO.source_dir(), "rand");
101103

102104
pub(crate) static REGEX_REPO: GitRepo =
103-
GitRepo::github("rust-lang", "regex", "341f207c1071f7290e3f228c710817c280c8dca1", "regex");
105+
GitRepo::github("rust-lang", "regex", "a9b2e02352db92ce1f6e5b7ecd41b8bbffbe161a", "regex");
104106

105107
pub(crate) static REGEX: CargoProject = CargoProject::new(&REGEX_REPO.source_dir(), "regex");
106108

patches/0003-rand-Disable-rand-tests-on-mingw.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ index 217899e..9cedeb7 100644
1919
+ // This is broken on x86_64-pc-windows-gnu presumably due to a broken powf implementation
2020
+ #[cfg_attr(all(target_os = "windows", target_env = "gnu"), ignore)]
2121
fn value_stability() {
22-
fn test_samples<F: Float + core::fmt::Debug, D: Distribution<F>>(
23-
distr: D, zero: F, expected: &[F],
22+
fn test_samples<F: Float + Debug + Display + LowerExp, D: Distribution<F>>(
23+
distr: D, thresh: F, expected: &[F],
2424
diff --git a/rand_distr/tests/value_stability.rs b/rand_distr/tests/value_stability.rs
2525
index 192ba74..0101ace 100644
2626
--- a/rand_distr/tests/value_stability.rs

0 commit comments

Comments
 (0)