about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-08 10:54:38 +0900
committerYuki Okushi <jtitor@2k36.org>2022-05-08 10:54:38 +0900
commitc64cf2735605a27b8276649d660f93b5ce232b0c (patch)
tree9b6987d41fb77b6e823f6d6535252048efdd2a6d /src
parente612ce9ce50182fb33a5186fbb39cdd5d4534f1f (diff)
downloadrust-c64cf2735605a27b8276649d660f93b5ce232b0c.tar.gz
rust-c64cf2735605a27b8276649d660f93b5ce232b0c.zip
Fix the `x.py clippy` command
Diffstat (limited to 'src')
-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![],
         }
     }