Skip to content

Commit

Permalink
Unrolled build for rust-lang#130459
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#130459 - onur-ozkan:rust-lang#130449, r=albertlarsan68

delete sub build directory "debug" to not delete the change-id file

Fixes rust-lang#130449
  • Loading branch information
rust-timer authored Sep 27, 2024
2 parents a3f76a2 + d2c58ec commit f6fdc5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,9 +625,9 @@ def download_toolchain(self):
try:
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,
# remove this once the issue is closed.
bootstrap_out = self.bootstrap_out()
if os.path.exists(bootstrap_out):
shutil.rmtree(bootstrap_out)
bootstrap_build_artifacts = os.path.join(self.bootstrap_out(), "debug")
if os.path.exists(bootstrap_build_artifacts):
shutil.rmtree(bootstrap_build_artifacts)

p.map(unpack_component, tarballs_download_info)
finally:
Expand Down

0 comments on commit f6fdc5e

Please sign in to comment.