Skip to content

Commit de0458a

Browse files
committed
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>
1 parent 750c2ec commit de0458a

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)