Skip to content

Commit f6fdc5e

Browse files
authored
Unrolled build for rust-lang#130459
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
2 parents a3f76a2 + d2c58ec commit f6fdc5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/bootstrap.py

+3-3
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)