From 6165b72b5f1992c8290142cf2e99cffeb1d49d10 Mon Sep 17 00:00:00 2001 From: Jynn Nelson Date: Wed, 14 Jan 2026 11:38:58 -0500 Subject: [PATCH] Fix `x fix`, again This was refactored incorrectly at some point and would run `cargo check` even for `x fix`. --- src/bootstrap/src/core/build_steps/check.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/src/core/build_steps/check.rs b/src/bootstrap/src/core/build_steps/check.rs index f983c59f9bf8c..8bbd03ac3afa9 100644 --- a/src/bootstrap/src/core/build_steps/check.rs +++ b/src/bootstrap/src/core/build_steps/check.rs @@ -87,7 +87,7 @@ impl Step for Std { Mode::Std, SourceType::InTree, target, - Kind::Check, + builder.config.cmd.kind(), ); std_cargo(builder, target, &mut cargo, &self.crates); @@ -97,7 +97,7 @@ impl Step for Std { } let _guard = builder.msg( - Kind::Check, + builder.config.cmd.kind(), format_args!("library artifacts{}", crate_description(&self.crates)), Mode::Std, build_compiler,