From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- src/bootstrap/clean.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bootstrap/clean.rs') diff --git a/src/bootstrap/clean.rs b/src/bootstrap/clean.rs index 0d9fd56b0..c1d867a0b 100644 --- a/src/bootstrap/clean.rs +++ b/src/bootstrap/clean.rs @@ -85,6 +85,10 @@ clean_crate_tree! { } fn clean_default(build: &Build, all: bool) { + if build.config.dry_run() { + return; + } + rm_rf("tmp".as_ref()); if all { -- cgit v1.2.3