]> git.lizzy.rs Git - rust.git/commit - src/librustc_llvm/build.rs
Auto merge of #76381 - petrochenkov:nomingwcomp, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Fri, 11 Sep 2020 06:36:43 +0000 (06:36 +0000)
committerbors <bors@rust-lang.org>
Fri, 11 Sep 2020 06:36:43 +0000 (06:36 +0000)
commitf5b7dd8181b0f483a890f8f3c19d08d6de03a444
treeb0ca362d6f88ce45317b75e86f0f3b58518abdb1
parent94b4de0e0793c8921d30e0fb886be712d17db6e5
parent8754884b78ee6cff99bd72ebdab39629f6ff88c3
Auto merge of #76381 - petrochenkov:nomingwcomp, r=Mark-Simulacrum

rustbuild: Do not use `rust-mingw` component when bootstrapping windows-gnu targets

Addresses https://github.com/rust-lang/rust/pull/76326#issuecomment-687273473 (ancient `x86_64-w64-mingw32-gcc` is selected as a linker wrapper, which is not usable in `use_lld=true` mode).

Perhaps the comment about incompatible mingw was true in the past, but many things changed since then.
With this change I was able to build everything successfully locally using a newer mingw toolchain, if it passes through the older toolchain on CI, then it should be good, I think.
src/bootstrap/bootstrap.py