]> git.lizzy.rs Git - rust.git/commit
auto merge of #8488 : klutzy/rust/mingw-w64, r=brson
authorbors <bors@rust-lang.org>
Mon, 26 Aug 2013 18:46:13 +0000 (11:46 -0700)
committerbors <bors@rust-lang.org>
Mon, 26 Aug 2013 18:46:13 +0000 (11:46 -0700)
commitce27752a69df6093ec0d104a7ecce755983a0f78
tree9f81660a9117b57830d18b659d1dbfe1b3dc6fb7
parent36b511558595a49b8c091937915d7616c2d62f14
parent442f4a5f2ca6f7f4082c09968e0fd83601a50d2a
auto merge of #8488 : klutzy/rust/mingw-w64, r=brson

This patchset enables rustc to cross-build mingw-w64 outputs.
Tested on mingw + mingw-w64 (mingw-builds, win64/seh/win32-threads/gcc-4.8.1).

I also patched llvm to support Win64 stack unwinding.
https://github.com/klutzy/llvm/commit/ebe22bdbcebc4f8342c4c7c50e3b61fa6c68c1ad

I cross-built test/run-pass/smallest-hello-world.rs and confirmed it works.
However, I also found something went wrong if I don't have custom `#[start]` routine.