Rollup merge of #117723 - onur-ozkan:keep-bootstrap-on-x-clean, r=alb… · rust-lang/rust@e603f44 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit e603f44
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)
File tree
1 file changed
lines changed
- src/bootstrap/src/core/build_steps
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -139,7 +139,6 @@ fn clean_specific_stage(build: &Build, stage: u32) { | ||
139 | 139 | fn clean_default(build: &Build) { |
140 | 140 | rm_rf(&build.out.join("tmp")); |
141 | 141 | rm_rf(&build.out.join("dist")); |
142 | -rm_rf(&build.out.join("bootstrap")); | |
143 | 142 | rm_rf(&build.out.join("rustfmt.stamp")); |
144 | 143 | |
145 | 144 | for host in &build.hosts { |