Skip to content

Commit f4a46c0

Browse files
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.
1 parent da1f1b5 commit f4a46c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl StepDescription {
217217
}
218218

219219
if !attempted_run {
220-
eprintln!("Warning: no rules matched {}.", path.display());
220+
panic!("Error: no rules matched {}.", path.display());
221221
}
222222
}
223223
}

0 commit comments

Comments
 (0)