speed up x clean
· rust-lang/rust@de0458a (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit de0458a
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
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 { |