Skip to content

Commit

Permalink
Rollup merge of rust-lang#61843 - alexcrichton:disable-myriad-closure…
Browse files Browse the repository at this point in the history
…s, r=pietroalbini

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.
  • Loading branch information
Centril authored Jun 18, 2019
2 parents de8066f + ea1bec3 commit 4f24715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/run-pass-fulldeps/myriad-closures.rs
Original file line number Diff line number Diff line change
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 4f24715

Please sign in to comment.