diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-11 23:45:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-11 23:45:51 +0200 |
| commit | b9311b4248adda4bedcf2acadb4fc31e75dbff65 (patch) | |
| tree | a03d860d686a4b91572bab3f5e96ce2e1a5d7e50 /src/bootstrap | |
| parent | 1be64f34317bfe2b5a6d093f59ce082f171b3baf (diff) | |
| parent | 1b283d49c7a1b21143b5827dfeb41becf4c9398b (diff) | |
| download | rust-b9311b4248adda4bedcf2acadb4fc31e75dbff65.tar.gz rust-b9311b4248adda4bedcf2acadb4fc31e75dbff65.zip | |
Rollup merge of #89760 - jyn514:remove-incremental-hack, r=Mark-Simulacrum
Remove hack ignoring unused attributes for stage 0 std This seems to no longer be giving spurious errors when incremental is enabled. Closes https://github.com/rust-lang/rust/issues/58633.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/builder.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 1f2109879d1..7df7a36f540 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1342,12 +1342,6 @@ impl<'a> Builder<'a> { rustdocflags.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 { - lint_flags.push("-Aunused-attributes"); - } // This does not use RUSTFLAGS due to caching issues with Cargo. // Clippy is treated as an "in tree" tool, but shares the same // cache as other "submodule" tools. With these options set in |
