Skip to content

Commit 56e5bfa

Browse files
authored
Rollup merge of #130459 - onur-ozkan:#130449, r=albertlarsan68
delete sub build directory "debug" to not delete the change-id file Fixes #130449
2 parents f9cd81f + d2c58ec commit 56e5bfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/bootstrap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,9 +625,9 @@ def download_toolchain(self):
625625
try:
626626
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,
627627
# remove this once the issue is closed.
628-
bootstrap_out = self.bootstrap_out()
629-
if os.path.exists(bootstrap_out):
630-
shutil.rmtree(bootstrap_out)
628+
bootstrap_build_artifacts = os.path.join(self.bootstrap_out(), "debug")
629+
if os.path.exists(bootstrap_build_artifacts):
630+
shutil.rmtree(bootstrap_build_artifacts)
631631

632632
p.map(unpack_component, tarballs_download_info)
633633
finally:

0 commit comments

Comments
 (0)