Skip to content

Commit bd144e3

Browse files
authored
Unrolled build for rust-lang#134331
Rollup merge of rust-lang#134331 - RalfJung:bootstrap-error-index, r=onur-ozkan bootstrap: make ./x test error-index work This makes it more likely that someone who sees an error index CI failure will be able to figure out how to reproduce that locally. Note that bootstrap already prints "Testing stage2 error-index", which is misleading since the test is actually called error_index_generator.
2 parents d185062 + 4795399 commit bd144e3

File tree

1 file changed

+3
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-1
lines changed

src/bootstrap/src/core/build_steps/test.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,9 @@ impl Step for ErrorIndex {
24422442
const ONLY_HOSTS: bool = true;
24432443

24442444
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
2445-
run.path("src/tools/error_index_generator")
2445+
// Also add `error-index` here since that is what appears in the error message
2446+
// when this fails.
2447+
run.path("src/tools/error_index_generator").alias("error-index")
24462448
}
24472449

24482450
fn make_run(run: RunConfig<'_>) {

0 commit comments

Comments
 (0)