about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-05-08 21:31:18 +0200
committerGitHub <noreply@github.com>2022-05-08 21:31:18 +0200
commite8257154a9c1a2f82d94c9cbb5f418a78d34c0b7 (patch)
tree01671700695f2e91d9e9df1a8db1160c3ff91c05
parent2c4d7a5463bb89170bf4e6cd1c3cae7b935d5fc9 (diff)
parentc64cf2735605a27b8276649d660f93b5ce232b0c (diff)
downloadrust-e8257154a9c1a2f82d94c9cbb5f418a78d34c0b7.tar.gz
rust-e8257154a9c1a2f82d94c9cbb5f418a78d34c0b7.zip
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`
-rw-r--r--src/bootstrap/builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index bc5af79e0c6..7d838c0a61d 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -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![],
         }
     }