Skip to content

Commit 4d2c8e3

Browse files
authored
Rollup merge of #151766 - ferrocene:jyn/x-fix, r=jieyouxu
Fix `x fix`, again This was refactored incorrectly at some point and would run `cargo check` even for `x fix`.
2 parents c6ea8ab + 6165b72 commit 4d2c8e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/bootstrap/src/core/build_steps

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl Step for Std {
8787
Mode::Std,
8888
SourceType::InTree,
8989
target,
90-
Kind::Check,
90+
builder.config.cmd.kind(),
9191
);
9292

9393
std_cargo(builder, target, &mut cargo, &self.crates);
@@ -97,7 +97,7 @@ impl Step for Std {
9797
}
9898

9999
let _guard = builder.msg(
100-
Kind::Check,
100+
builder.config.cmd.kind(),
101101
format_args!("library artifacts{}", crate_description(&self.crates)),
102102
Mode::Std,
103103
build_compiler,

0 commit comments

Comments
 (0)