Skip to content

Commit

Permalink
Rollup merge of rust-lang#89760 - jyn514:remove-incremental-hack, r=M…
Browse files Browse the repository at this point in the history
…ark-Simulacrum

Remove hack ignoring unused attributes for stage 0 std

This seems to no longer be giving spurious errors when incremental is
enabled.

Closes rust-lang#58633.
  • Loading branch information
matthiaskrgr authored Oct 11, 2021
2 parents 85412d4 + 1b283d4 commit 7ebfc6c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ebfc6c

Please sign in to comment.