about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2023-02-28 14:53:36 +0000
committerGitHub <noreply@github.com>2023-02-28 14:53:36 +0000
commita321013f3e11d62eb29c34b885cb7cfe1c8194e3 (patch)
treeb1818858ef7365dcdd9f7114941dc20fb7d70db1 /src/bootstrap
parent5157d938c49af1248a21e7ed2fbc5c6f71963276 (diff)
Fix `x clean` with specific paths
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/clean.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/clean.rs b/src/bootstrap/clean.rs
index 468efc1114c..7ebd0a8f270 100644
--- a/src/bootstrap/clean.rs
+++ b/src/bootstrap/clean.rs
@@ -62,6 +62,7 @@ macro_rules! clean_crate_tree {
                 let target = compiler.host;
                 let mut cargo = builder.bare_cargo(compiler, $mode, target, "clean");
                 for krate in &*self.crates {
+                    cargo.arg("-p");
                     cargo.arg(krate);
                 }