diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-10-11 04:50:12 +0000 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-10-11 04:52:18 +0000 |
| commit | 1b283d49c7a1b21143b5827dfeb41becf4c9398b (patch) | |
| tree | 8a5e0ccff07b2a18f5242000ce599606590d825b /src/bootstrap | |
| parent | ac8dd1b2f24dc62c962172b27433106b4e84dc62 (diff) | |
| download | rust-1b283d49c7a1b21143b5827dfeb41becf4c9398b.tar.gz rust-1b283d49c7a1b21143b5827dfeb41becf4c9398b.zip | |
Remove hack ignoring unused attributes for stage 0 std
This seems to no longer be giving spurious errors when incremental is enabled.
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 0a6ed2f49b7..abfd530e0c2 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 |
