From 440ed80b316ca20841e8ce6172f3635be60c4a35 Mon Sep 17 00:00:00 2001 From: Nivekithan Date: Mon, 20 Apr 2026 18:07:13 +0530 Subject: [PATCH] add warning message when using x fix --- src/bootstrap/src/core/config/config.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 04f020e44dd1..54ec40a3314c 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -1184,6 +1184,12 @@ pub(crate) fn parse_inner( exit!(1); } + if matches!(flags_cmd, Subcommand::Fix) { + eprintln!( + "WARNING: `x fix` is provided on a best-effort basis and does not support all `cargo fix` options correctly." + ); + } + // CI should always run stage 2 builds, unless it specifically states otherwise #[cfg(not(test))] if flags_stage.is_none() && ci_env.is_running_in_ci() {