From e78ecd2e70961e64040598a019febec44959f7dd Mon Sep 17 00:00:00 2001 From: Mark Simulacrum Date: Thu, 15 Feb 2018 18:01:26 -0700 Subject: [PATCH] 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. --- src/bootstrap/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 001ae7246fdf..22a128e38e80 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()); } } }