about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-07-05 18:48:56 +0200
committerOliver Schneider <github35764891676564198441@oli-obk.de>2018-07-05 18:48:56 +0200
commit82a132874070bff23fa8b372dd4702ac738be9eb (patch)
treec5a98f49067c29f381530f49b051569facafec3b
parent94eb1760551096363ec04e42367b6b195592dbd8 (diff)
downloadrust-82a132874070bff23fa8b372dd4702ac738be9eb.tar.gz
rust-82a132874070bff23fa8b372dd4702ac738be9eb.zip
Vertical list of tools to check
-rw-r--r--src/bootstrap/tool.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 23b3f5a0826..a85594d4d3d 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -118,8 +118,13 @@ impl Step for ToolBuild {
         let mut duplicates = Vec::new();
         let is_expected = compile::stream_cargo(builder, &mut cargo, &mut |msg| {
             // Only care about big things like the RLS/Cargo for now
-            if tool != "rls" && tool != "cargo" && tool != "clippy-driver" {
-                return
+            match tool {
+                | "rls"
+                | "cargo"
+                | "clippy-driver"
+                => {}
+
+                _ => return,
             }
             let (id, features, filenames) = match msg {
                 compile::CargoMessage::CompilerArtifact {