diff options
| author | Ralf Jung <post@ralfj.de> | 2020-05-01 11:16:05 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-05-01 11:16:05 +0200 |
| commit | 6c8ae7c7e5386da8b68f1b1bfbef706542feafcb (patch) | |
| tree | 2d03b933765d45ae4b6b0b96831f1677b5dde660 /src/bootstrap | |
| parent | bd0bacc694d7d8175804bb6f690cb846bfa4a9ee (diff) | |
| download | rust-6c8ae7c7e5386da8b68f1b1bfbef706542feafcb.tar.gz rust-6c8ae7c7e5386da8b68f1b1bfbef706542feafcb.zip | |
bootstrap: also apply unused-attributes hack without deny_warnings
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/builder.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 4a664205bff..c0018c613ba 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1088,13 +1088,13 @@ impl<'a> Builder<'a> { if self.config.deny_warnings { rustflags.arg("-Dwarnings"); + } - // FIXME(#58633) hide "unused attribute" errors in incremental - // builds of the standard library, as the underlying checks are - // not yet properly integrated with incremental recompilation. - if mode == Mode::Std && compiler.stage == 0 && self.config.incremental { - rustflags.arg("-Aunused-attributes"); - } + // FIXME(#58633) hide "unused attribute" errors in incremental + // builds of the standard library, as the underlying checks are + // not yet properly integrated with incremental recompilation. + if mode == Mode::Std && compiler.stage == 0 && self.config.incremental { + rustflags.arg("-Aunused-attributes"); } } |
