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::CrtBeginEnd
),
Kind::Check => describe!(
Kind::Check | Kind::Clippy | Kind::Fix => describe!(
check::Std,
check::Rustc,
check::Rustdoc,
@ -664,7 +664,7 @@ impl<'a> Builder<'a> {
),
Kind::Run => describe!(run::ExpandYamlAnchors, run::BuildManifest, run::BumpStage0),
// 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![],
}
}