Skip to content

Commit 440ed80

Browse files
committed
add warning message when using x fix
1 parent e22c616 commit 440ed80

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/bootstrap/src/core/config/config.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,12 @@ impl Config {
11841184
exit!(1);
11851185
}
11861186

1187+
if matches!(flags_cmd, Subcommand::Fix) {
1188+
eprintln!(
1189+
"WARNING: `x fix` is provided on a best-effort basis and does not support all `cargo fix` options correctly."
1190+
);
1191+
}
1192+
11871193
// CI should always run stage 2 builds, unless it specifically states otherwise
11881194
#[cfg(not(test))]
11891195
if flags_stage.is_none() && ci_env.is_running_in_ci() {

0 commit comments

Comments
 (0)