diff options
| author | onur-ozkan <work@onurozkan.dev> | 2023-11-08 23:45:31 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2023-11-08 23:45:31 +0300 |
| commit | de0458af970adfd768b18bac7cb5a377f837378c (patch) | |
| tree | 5e5b79408e27e7ace2307e6f44a31997fc9fcedc | |
| parent | 750c2ecd1503fe7ff39e41603977d12de33417d8 (diff) | |
| download | rust-de0458af970adfd768b18bac7cb5a377f837378c.tar.gz rust-de0458af970adfd768b18bac7cb5a377f837378c.zip | |
speed up `x clean`
Since `x clean` runs with bootstrap, we can speed up this process by avoiding the cleaning of bootstrap artifacts, as they are not necessarily needed to be cleaned. Signed-off-by: onur-ozkan <work@onurozkan.dev>
| -rw-r--r-- | src/bootstrap/src/core/build_steps/clean.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/clean.rs b/src/bootstrap/src/core/build_steps/clean.rs index 679770ce0ec..1f0ca2ac5c8 100644 --- a/src/bootstrap/src/core/build_steps/clean.rs +++ b/src/bootstrap/src/core/build_steps/clean.rs @@ -139,7 +139,6 @@ fn clean_specific_stage(build: &Build, stage: u32) { fn clean_default(build: &Build) { rm_rf(&build.out.join("tmp")); rm_rf(&build.out.join("dist")); - rm_rf(&build.out.join("bootstrap")); rm_rf(&build.out.join("rustfmt.stamp")); for host in &build.hosts { |
