Skip to content

Commit

Permalink
bootstrap: make ./x test error-index work
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 15, 2024
1 parent 4790a43 commit 4795399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2442,7 +2442,9 @@ impl Step for ErrorIndex {
const ONLY_HOSTS: bool = true;

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

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

0 comments on commit 4795399

Please sign in to comment.