Skip to content

Commit e603f44

Browse files
authoredNov 9, 2023
Rollup merge of #117723 - onur-ozkan:keep-bootstrap-on-x-clean, r=albertlarsan68
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)
2 parents 6533c62 + de0458a commit e603f44

File tree

1 file changed

+0
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+0
-1
lines changed
 

‎src/bootstrap/src/core/build_steps/clean.rs

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ fn clean_specific_stage(build: &Build, stage: u32) {
139139
fn clean_default(build: &Build) {
140140
rm_rf(&build.out.join("tmp"));
141141
rm_rf(&build.out.join("dist"));
142-
rm_rf(&build.out.join("bootstrap"));
143142
rm_rf(&build.out.join("rustfmt.stamp"));
144143

145144
for host in &build.hosts {

0 commit comments

Comments
 (0)