Rollup merge of #108564 - clubby789:patch-1, r=jyn514
Fix `x clean` with specific paths Fixes #108517 `cargo clean` takes package names to clean with `-p`, rather than as free args
This commit is contained in:
commit
41eb28dc18
@ -62,6 +62,7 @@ macro_rules! clean_crate_tree {
|
|||||||
let target = compiler.host;
|
let target = compiler.host;
|
||||||
let mut cargo = builder.bare_cargo(compiler, $mode, target, "clean");
|
let mut cargo = builder.bare_cargo(compiler, $mode, target, "clean");
|
||||||
for krate in &*self.crates {
|
for krate in &*self.crates {
|
||||||
|
cargo.arg("-p");
|
||||||
cargo.arg(krate);
|
cargo.arg(krate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user