Skip to content

Commit e9b8693

Browse files
committed
Don't force-install xargo
Previously miri used `cargo install xargo -f` which shouldn't be necessary anymore since `cargo install` will now upgrade without `-f`. The only reason I can see to use `-f` is from the cargo docs: > This is also useful if something has changed on the system that you > want to rebuild with, such as a newer version of `rustc`. See the [discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/why.20does.20miri.20require.20xargo/near/214351239).
1 parent 9cb10cd commit e9b8693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-miri/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ fn setup(subcommand: MiriCommand) {
241241
show_error(format!("xargo is too old; please upgrade to the latest version"))
242242
}
243243
let mut cmd = cargo();
244-
cmd.args(&["install", "xargo", "-f"]);
244+
cmd.args(&["install", "xargo"]);
245245
ask_to_run(cmd, ask_user, "install a recent enough xargo");
246246
}
247247

0 commit comments

Comments
 (0)