Skip to content

Commit b03e898

Browse files
committed
Also use the inferred display name in the check stamp
This changes the spelling of the stamp name to include more hyphens in some cases, but that should make no functional difference.
1 parent 0b4e790 commit b03e898

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

src/bootstrap/src/core/build_steps/check.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ macro_rules! tool_check_step {
428428

429429
fn run(self, builder: &Builder<'_>) {
430430
let Self { target } = self;
431-
run_tool_check_step(builder, target, stringify!($name), $path, $source_type);
431+
run_tool_check_step(builder, target, $path, $source_type);
432432
}
433433
}
434434
}
@@ -438,7 +438,6 @@ macro_rules! tool_check_step {
438438
fn run_tool_check_step(
439439
builder: &Builder<'_>,
440440
target: TargetSelection,
441-
step_type_name: &str,
442441
path: &str,
443442
source_type: SourceType,
444443
) {
@@ -466,7 +465,7 @@ fn run_tool_check_step(
466465

467466
let stamp = builder
468467
.cargo_out(compiler, Mode::ToolRustc, target)
469-
.join(format!(".{}-check.stamp", step_type_name.to_lowercase()));
468+
.join(format!(".{display_name}-check.stamp"));
470469

471470
let _guard = builder.msg_check(&format!("{display_name} artifacts"), target);
472471
run_cargo(builder, cargo, builder.config.free_args.clone(), &stamp, vec![], true, false);

0 commit comments

Comments
 (0)