From 1a370109ec176fa33a9cac2fe143b43c56ebcfd9 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Wed, 24 Jul 2019 11:44:14 +0300 Subject: Fix `cfg(parallel_compiler)` mode Fix rebase --- src/bootstrap/bin/rustc.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bootstrap/bin') diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index 2e9044a8150..23f81c2c876 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -127,6 +127,8 @@ fn main() { if env::var_os("RUSTC_DENY_WARNINGS").is_some() && env::var_os("RUSTC_EXTERNAL_TOOL").is_none() { + // When extending this list, search for `NO-RUSTC-WRAPPER` and add the new lints + // there as well, some code doesn't go through this `rustc` wrapper. cmd.arg("-Dwarnings"); cmd.arg("-Drust_2018_idioms"); cmd.arg("-Dunused_lifetimes"); -- cgit 1.4.1-3-g733a5