about summary refs log tree commit diff
path: root/src/bootstrap/tool.rs
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-03-15 17:29:53 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-04-03 11:41:51 -0600
commitf4620a3d1471fd7943ebd413dcbc94d51bcfea8e (patch)
treefc6a6f50535194a59a56903776f64521149375fd /src/bootstrap/tool.rs
parent42fde21c27c67ce3c665e344b602cfd1d22842cc (diff)
downloadrust-f4620a3d1471fd7943ebd413dcbc94d51bcfea8e.tar.gz
rust-f4620a3d1471fd7943ebd413dcbc94d51bcfea8e.zip
Stub out less code
Diffstat (limited to 'src/bootstrap/tool.rs')
-rw-r--r--src/bootstrap/tool.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 362ec0c3b50..2bb46cc5171 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -199,11 +199,7 @@ impl Step for ToolBuild {
 
         if !is_expected {
             if !is_ext_tool {
-                if cfg!(test) {
-                    panic!("unexpected failure -- would have hard exited");
-                } else {
-                    exit(1);
-                }
+                exit(1);
             } else {
                 return None;
             }