1
Fork 0

Rollup merge of #96829 - JohnTitor:fix-xpy-clippy, r=jyn514

Fix the `x.py clippy` command

Fixes #96826, confirmed clippy runs correctly on local
r? `@Mark-Simulacrum`
This commit is contained in:
Matthias Krüger 2022-05-08 21:31:18 +02:00 committed by GitHub
commit e8257154a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -534,7 +534,7 @@ impl<'a> Builder<'a> {
native::Lld, native::Lld,
native::CrtBeginEnd native::CrtBeginEnd
), ),
Kind::Check => describe!( Kind::Check | Kind::Clippy | Kind::Fix => describe!(
check::Std, check::Std,
check::Rustc, check::Rustc,
check::Rustdoc, check::Rustdoc,
@ -664,7 +664,7 @@ impl<'a> Builder<'a> {
), ),
Kind::Run => describe!(run::ExpandYamlAnchors, run::BuildManifest, run::BumpStage0), Kind::Run => describe!(run::ExpandYamlAnchors, run::BuildManifest, run::BumpStage0),
// These commands either don't use paths, or they're special-cased in Build::build() // These commands either don't use paths, or they're special-cased in Build::build()
Kind::Clean | Kind::Clippy | Kind::Fix | Kind::Format | Kind::Setup => vec![], Kind::Clean | Kind::Format | Kind::Setup => vec![],
} }
} }