We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f95fa4 commit e58e3d5Copy full SHA for e58e3d5
src/tools/miri/src/bin/miri.rs
@@ -721,8 +721,8 @@ fn main() {
721
722
// Ensure we have parallelism for many-seeds mode.
723
if many_seeds.is_some() && !rustc_args.iter().any(|arg| arg.starts_with("-Zthreads=")) {
724
- // Clamp to 10 threads; things get a lot less efficient beyond that due to lock contention.
725
- let threads = std::thread::available_parallelism().map_or(1, |n| n.get()).min(10);
+ // Clamp to 20 threads; things get a less efficient beyond that due to lock contention.
+ let threads = std::thread::available_parallelism().map_or(1, |n| n.get()).min(20);
726
rustc_args.push(format!("-Zthreads={threads}"));
727
}
728
let many_seeds =
0 commit comments