forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc_back: change default GNU linkers for Windows
In particular, specify the target triple when specifying the name of the linker executable. This makes it possible to cross compile to Windows: rustc --target=x86_64-pc-windows-gnu without having to pass rustc the "-C linker=" parameter. This fixes cross compilation to 64-bit Windows. However, due to unwinding issues (rust-lang#12859) this does not fix cross compilation to 32-bit Windows. Additionally, update make-win-dist.py. This allows (non-cross) compilation on Windows to continue to work.
- Loading branch information
Showing
3 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters