Skip to content

Commit 5332d9a

Browse files
committed
Document why we download rust-mingw
1 parent 39d0b05 commit 5332d9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/bootstrap.py

+3
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ def download_stage0(self):
351351
with open(self.rustc_stamp(), 'w') as rust_stamp:
352352
rust_stamp.write(self.date)
353353

354+
# This is required so that we don't mix incompatible MinGW
355+
# libraries/binaries that are included in rust-std with
356+
# the system MinGW ones.
354357
if "pc-windows-gnu" in self.build:
355358
filename = "rust-mingw-{}-{}.tar.gz".format(
356359
rustc_channel, self.build)

0 commit comments

Comments
 (0)