rust/library/unwind/src
Matthias Krüger a4cf1f89ab
Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkov
link libunwind dynamically and allow controlling it via `crt-static` on gnullvm targets

Alternative to https://github.com/rust-lang/rust/pull/121794

```
$ cargo b -r
    Finished `release` profile [optimized] target(s) in 0.38s

$ ntldd target/release/hello.exe | rg unwind
        libunwind.dll => H:\msys64\clang64\bin\libunwind.dll (0x0000020c35df0000)

$ RUSTFLAGS="-C target-feature=+crt-static" cargo b -r
    Finished `release` profile [optimized] target(s) in 0.23s

$ ntldd target/release/hello.exe | rg unwind
```
2024-12-12 08:06:58 +01:00
..
lib.rs Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkov 2024-12-12 08:06:58 +01:00
libunwind.rs control libunwind linkage mode via crt-static on gnullvm targets 2024-10-03 22:59:30 +02:00
unwinding.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
wasm.rs Use throw intrinsic from stdarch in wasm libunwind 2024-10-08 15:50:37 -05:00