Skip to content

Commit

Permalink
Document why we download rust-mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Mar 1, 2018
1 parent 39d0b05 commit 5332d9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ def download_stage0(self):
with open(self.rustc_stamp(), 'w') as rust_stamp:
rust_stamp.write(self.date)

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

0 comments on commit 5332d9a

Please sign in to comment.