diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-24 11:44:14 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-28 18:47:03 +0300 |
| commit | 1a370109ec176fa33a9cac2fe143b43c56ebcfd9 (patch) | |
| tree | 9b5bf1b2ca690e2ffe8b24ecfebc8f895b4a25fb /src/bootstrap/bin | |
| parent | 676d282dd3cd2dedba651e98c9a41af42983f08b (diff) | |
| download | rust-1a370109ec176fa33a9cac2fe143b43c56ebcfd9.tar.gz rust-1a370109ec176fa33a9cac2fe143b43c56ebcfd9.zip | |
Fix `cfg(parallel_compiler)` mode
Fix rebase
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |
