We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 170d6cb commit d2c58ecCopy full SHA for d2c58ec
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