Skip to content

Commit

Permalink
Rollup merge of #130459 - onur-ozkan:#130449, r=albertlarsan68
Browse files Browse the repository at this point in the history
delete sub build directory "debug" to not delete the change-id file

Fixes #130449
  • Loading branch information
matthiaskrgr authored Sep 27, 2024
2 parents f9cd81f + d2c58ec commit 56e5bfa
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 56e5bfa

Please sign in to comment.