about summary refs log tree commit diff
path: root/src/bootstrap/bin
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-01-28 15:51:47 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-01-28 16:24:33 +0100
commit975eb312eff3f8e3453e1836995e485b5086515d (patch)
tree272a14388e2dec298e39953a033f2a9b3101198f /src/bootstrap/bin
parenta21bd756889942cfed06dfd4ccd08838fc27ffdf (diff)
downloadrust-975eb312eff3f8e3453e1836995e485b5086515d.tar.gz
rust-975eb312eff3f8e3453e1836995e485b5086515d.zip
Use multiple threads by default. Limits tests to one thread. Do some renaming.
Diffstat (limited to 'src/bootstrap/bin')
-rw-r--r--src/bootstrap/bin/rustc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index a0c75cd9e94..7a765973e20 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -284,8 +284,8 @@ fn main() {
         }
     }
 
-    if env::var_os("RUSTC_PARALLEL_QUERIES").is_some() {
-        cmd.arg("--cfg").arg("parallel_queries");
+    if env::var_os("RUSTC_PARALLEL_COMPILER").is_some() {
+        cmd.arg("--cfg").arg("parallel_compiler");
     }
 
     if env::var_os("RUSTC_DENY_WARNINGS").is_some() && env::var_os("RUSTC_EXTERNAL_TOOL").is_none()