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 f4c675c commit 548958aCopy full SHA for 548958a
src/bootstrap/builder.rs
@@ -759,7 +759,8 @@ impl<'a> Builder<'a> {
759
};
760
761
let mut rustflags = Rustflags::new(&target);
762
- if stage != 0 {
+ // x.py with nightly clippy needs to run over #[cfg(not(bootstrap)] code in order to function
763
+ if stage != 0 || cmd == "clippy" {
764
if let Ok(s) = env::var("CARGOFLAGS_NOT_BOOTSTRAP") {
765
cargo.args(s.split_whitespace());
766
}
0 commit comments