about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-02-15 18:01:26 -0700
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-02-15 18:11:57 -0700
commite78ecd2e70961e64040598a019febec44959f7dd (patch)
treec565ad424ab5dd022a71b31332c8e9cfe56e7c27
parent1670a532dd769763f1d6ad9e5d624ec31361a098 (diff)
downloadrust-e78ecd2e70961e64040598a019febec44959f7dd.tar.gz
rust-e78ecd2e70961e64040598a019febec44959f7dd.zip
Prevent silently ignoring unmatched paths
Primarily for CI purposes; this is intended to avoid cases where we
update rustbuild and unintentionally make CI stop running some builds to
the arguments being passed no longer applying for some reason.
-rw-r--r--src/bootstrap/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 001ae7246fd..22a128e38e8 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -217,7 +217,7 @@ impl StepDescription {
                 }
 
                 if !attempted_run {
-                    eprintln!("Warning: no rules matched {}.", path.display());
+                    panic!("Error: no rules matched {}.", path.display());
                 }
             }
         }