about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-07-31 09:01:42 +0200
committerRalf Jung <post@ralfj.de>2019-08-08 19:31:45 +0200
commitffb5f18a520c92f6a26039b75f9e72ddbb985435 (patch)
treee8108a3581cc6903d5207bac1d39770ad252bac4
parentc4a654d9cdbf259b4ec563df22787c31a3149b93 (diff)
downloadrust-ffb5f18a520c92f6a26039b75f9e72ddbb985435.tar.gz
rust-ffb5f18a520c92f6a26039b75f9e72ddbb985435.zip
simplify a match
-rw-r--r--src/bootstrap/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index c8ea3157dc9..b72aa78f3de 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -540,9 +540,7 @@ impl Build {
             Mode::Rustc => "-rustc",
             Mode::Codegen => "-codegen",
             Mode::ToolBootstrap => "-bootstrap-tools",
-            Mode::ToolStd => "-tools",
-            Mode::ToolTest => "-tools",
-            Mode::ToolRustc => "-tools",
+            Mode::ToolStd | Mode::ToolTest | Mode::ToolRustc => "-tools",
         };
         self.out.join(&*compiler.host)
                 .join(format!("stage{}{}", compiler.stage, suffix))