Skip to content

Commit

Permalink
Rollup merge of #117723 - onur-ozkan:keep-bootstrap-on-x-clean, r=alb…
Browse files Browse the repository at this point in the history
…ertlarsan68

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.

ref ##117653 (comment)
  • Loading branch information
TaKO8Ki authored Nov 9, 2023
2 parents 6533c62 + de0458a commit e603f44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bootstrap/src/core/build_steps/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e603f44

Please sign in to comment.