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 #https://github.com/rust-lang/rust/issues/117653#issuecomment-1802482768
This commit is contained in:
commit
e603f4491c
@ -139,7 +139,6 @@ fn clean_specific_stage(build: &Build, stage: u32) {
|
||||
fn clean_default(build: &Build) {
|
||||
rm_rf(&build.out.join("tmp"));
|
||||
rm_rf(&build.out.join("dist"));
|
||||
rm_rf(&build.out.join("bootstrap"));
|
||||
rm_rf(&build.out.join("rustfmt.stamp"));
|
||||
|
||||
for host in &build.hosts {
|
||||
|
Loading…
x
Reference in New Issue
Block a user