diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-12 08:06:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-12 08:06:58 +0100 |
| commit | a4cf1f89abe757727442abcbdafa7888b6b1978f (patch) | |
| tree | 51619b74160537b06cdaa71155ca3f1eb5ce35af /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 903d2976fdb6ceeb65526b7555d8d1e6f8c02134 (diff) | |
| parent | d442cf54ea114399d0f892acce22d13b02a9232b (diff) | |
| download | rust-a4cf1f89abe757727442abcbdafa7888b6b1978f.tar.gz rust-a4cf1f89abe757727442abcbdafa7888b6b1978f.zip | |
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
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
