Skip to content

Commit 27b0fcc

Browse files
authored
Rollup merge of rust-lang#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 #rust-lang#117653 (comment)
2 parents a2ea76e + de0458a commit 27b0fcc

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)