]> git.lizzy.rs Git - rust.git/commit
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
authorbors <bors@rust-lang.org>
Sun, 13 Nov 2022 21:12:48 +0000 (21:12 +0000)
committerbors <bors@rust-lang.org>
Sun, 13 Nov 2022 21:12:48 +0000 (21:12 +0000)
commit7b513af6c4b39b86f70b19fbd1a2dc72aa485d5c
tree21f8885c16f5187a198f83283fc51263d07d0738
parente631891f7ad40eac3ef58ec3c2b57ecd81e40615
parent7333ee092b305a13cfdeabbd748ae1007985b4f1
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc

Change the way libunwind is linked for *-windows-gnullvm targets

I have no idea why previous way works for `x86_64-fortanix-unknown-sgx` (assuming it actually works...) but not for `gnullvm`. It fails when linking libtest during Rust build (unless somebody adds `RUSTFLAGS='-Clinkarg=-lunwind'`).
Also fixes exception handling on AArch64.
library/unwind/src/lib.rs
src/bootstrap/compile.rs