diff options
| author | varkor <github@varkor.com> | 2019-02-08 16:44:50 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-02-08 16:45:58 +0100 |
| commit | 5f41f8be30ea93e4fc86be2faea5e981ff3f8c2f (patch) | |
| tree | 143e36488b881a8aef784cb93c76a7ab05e00766 /src/bootstrap | |
| parent | 652ae3fffd71c8ac611fbfaa406f584ac607a0c5 (diff) | |
| download | rust-5f41f8be30ea93e4fc86be2faea5e981ff3f8c2f.tar.gz rust-5f41f8be30ea93e4fc86be2faea5e981ff3f8c2f.zip | |
Deny warnings in std stage 0
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/builder.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index b0d15e6a5df..8540d92f749 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1018,8 +1018,7 @@ impl<'a> Builder<'a> { cargo.env("RUSTC_VERBOSE", self.verbosity.to_string()); - // in std, we want to avoid denying warnings for stage 0 as that makes cfg's painful. - if self.config.deny_warnings && !(mode == Mode::Std && stage == 0) { + if self.config.deny_warnings { cargo.env("RUSTC_DENY_WARNINGS", "1"); } |
