diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-02-15 18:01:26 -0700 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-02-15 18:11:57 -0700 |
| commit | e78ecd2e70961e64040598a019febec44959f7dd (patch) | |
| tree | c565ad424ab5dd022a71b31332c8e9cfe56e7c27 | |
| parent | 1670a532dd769763f1d6ad9e5d624ec31361a098 (diff) | |
| download | rust-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.rs | 2 |
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()); } } } |
