about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-04 08:34:12 +0000
committerbors <bors@rust-lang.org>2021-04-04 08:34:12 +0000
commitf98135b7a24a54964f83ca1dc2dfb6bd1d35b1bd (patch)
treef7cb2891d878d28e11dc815eff0f1f033d3ff268 /src/bootstrap
parent88e7862dd05ff939cd498eb0ad2f3383bad33171 (diff)
parent0513ba4d65b953ab637fbafd979a9bd002b93e5c (diff)
downloadrust-f98135b7a24a54964f83ca1dc2dfb6bd1d35b1bd.tar.gz
rust-f98135b7a24a54964f83ca1dc2dfb6bd1d35b1bd.zip
Auto merge of #82347 - the8472:parallelize-tidy, r=Mark-Simulacrum
Parallelize tidy

Split off from #81833

While that PR brings wall time of `x.py test tidy` down to 0m2.847s adding this one on top should bring it down to 0m1.673s.

r? `@Mark-Simulacrum`

Previous concerns can be found at https://github.com/rust-lang/rust/pull/81833#issuecomment-782754685 and https://github.com/rust-lang/rust/pull/81833#discussion_r575194633
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 69d39f5e544..117201ab3cd 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -854,6 +854,7 @@ impl Step for Tidy {
         cmd.arg(&builder.src);
         cmd.arg(&builder.initial_cargo);
         cmd.arg(&builder.out);
+        cmd.arg(builder.jobs().to_string());
         if builder.is_verbose() {
             cmd.arg("--verbose");
         }