Skip to content

Commit 82a1328

Browse files
committed
Vertical list of tools to check
1 parent 94eb176 commit 82a1328

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/bootstrap/tool.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,13 @@ impl Step for ToolBuild {
118118
let mut duplicates = Vec::new();
119119
let is_expected = compile::stream_cargo(builder, &mut cargo, &mut |msg| {
120120
// Only care about big things like the RLS/Cargo for now
121-
if tool != "rls" && tool != "cargo" && tool != "clippy-driver" {
122-
return
121+
match tool {
122+
| "rls"
123+
| "cargo"
124+
| "clippy-driver"
125+
=> {}
126+
127+
_ => return,
123128
}
124129
let (id, features, filenames) = match msg {
125130
compile::CargoMessage::CompilerArtifact {

0 commit comments

Comments
 (0)