Skip to content

Commit

Permalink
Turn down the myriad-closures test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton committed Jun 14, 2019
1 parent fc550d4 commit ea1bec3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/run-pass-fulldeps/myriad-closures.rs
Expand Up @@ -32,7 +32,7 @@ macro_rules! mk_fn {
}

fn main() {
// Make 2^12 functions, each containing 16 closures,
// resulting in 2^16 closures overall.
go_bacterial!(mk_fn 1 1 1 1 1 1 1 1 1 1 1 1);
// Make 2^8 functions, each containing 16 closures,
// resulting in 2^12 closures overall.
go_bacterial!(mk_fn 1 1 1 1 1 1 1 1);
}

0 comments on commit ea1bec3

Please sign in to comment.