diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-12-03 13:49:01 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-12-17 14:14:51 +0100 |
| commit | 970c613e4a785325469d4f694a16505d5deac17a (patch) | |
| tree | a3f3a22dfff0f3578a7530805eb275205483ac68 /src/bootstrap/bin | |
| parent | 53a6d14e5bb8b1915a5f0b9371bbf0da934ed052 (diff) | |
| download | rust-970c613e4a785325469d4f694a16505d5deac17a.tar.gz rust-970c613e4a785325469d4f694a16505d5deac17a.zip | |
Add sync module to rustc_data_structures
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index 30afd52f448..37336a56d76 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -265,6 +265,10 @@ fn main() { } } + if env::var_os("RUSTC_PARALLEL_QUERIES").is_some() { + cmd.arg("--cfg").arg("parallel_queries"); + } + let color = match env::var("RUSTC_COLOR") { Ok(s) => usize::from_str(&s).expect("RUSTC_COLOR should be an integer"), Err(_) => 0, |
