We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3f76a2 + d2c58ec commit f6fdc5eCopy full SHA for f6fdc5e
src/bootstrap/bootstrap.py
@@ -625,9 +625,9 @@ def download_toolchain(self):
625
try:
626
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,
627
# 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)
+ bootstrap_build_artifacts = os.path.join(self.bootstrap_out(), "debug")
+ if os.path.exists(bootstrap_build_artifacts):
+ shutil.rmtree(bootstrap_build_artifacts)
631
632
p.map(unpack_component, tarballs_download_info)
633
finally:
0 commit comments