Skip to content

Commit ea1bec3

Browse files
committed
Turn down the myriad-closures test
This tests takes nearly 5 minutes to compile on CI where the CPUs we have aren't exactly the fastest. This test does actually require all closures to exist to exhibit the original bug, but it seems a little excessive to test a single bug on CI on all platforms which simply pegs a single CPU for 5 minutes with no parallelism opportunities, so this turns down the test to still exercise it somewhat at least.
1 parent fc550d4 commit ea1bec3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/run-pass-fulldeps/myriad-closures.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ macro_rules! mk_fn {
3232
}
3333

3434
fn main() {
35-
// Make 2^12 functions, each containing 16 closures,
36-
// resulting in 2^16 closures overall.
37-
go_bacterial!(mk_fn 1 1 1 1 1 1 1 1 1 1 1 1);
35+
// Make 2^8 functions, each containing 16 closures,
36+
// resulting in 2^12 closures overall.
37+
go_bacterial!(mk_fn 1 1 1 1 1 1 1 1);
3838
}

0 commit comments

Comments
 (0)