Skip to content

Commit 4795399

Browse files
committed
bootstrap: make ./x test error-index work
1 parent 4790a43 commit 4795399

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)