We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652ae3f commit 5f41f8bCopy full SHA for 5f41f8b
1 file changed
src/bootstrap/builder.rs
@@ -1018,8 +1018,7 @@ impl<'a> Builder<'a> {
1018
1019
cargo.env("RUSTC_VERBOSE", self.verbosity.to_string());
1020
1021
- // in std, we want to avoid denying warnings for stage 0 as that makes cfg's painful.
1022
- if self.config.deny_warnings && !(mode == Mode::Std && stage == 0) {
+ if self.config.deny_warnings {
1023
cargo.env("RUSTC_DENY_WARNINGS", "1");
1024
}
1025
0 commit comments