From a321013f3e11d62eb29c34b885cb7cfe1c8194e3 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Tue, 28 Feb 2023 14:53:36 +0000 Subject: [PATCH] Fix `x clean` with specific paths --- src/bootstrap/clean.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/clean.rs b/src/bootstrap/clean.rs index 468efc1114c43..7ebd0a8f27069 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); }