We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc58393 commit ed47fd2Copy full SHA for ed47fd2
src/cargo/ops/cargo_clean.rs
@@ -201,7 +201,7 @@ fn clean_specs(
201
clean_ctx.progress.on_cleaning_package(&pkg.name())?;
202
203
if clean_ctx.gctx.cli_unstable().build_dir_new_layout {
204
- for (_compile_kind, layout) in &layouts {
+ for (_compile_kind, layout) in &layouts_with_host {
205
let dir = layout.build_dir().build_unit(&pkg.name());
206
clean_ctx.rm_rf_glob(&dir)?;
207
}
0 commit comments