1
Fork 0

control libunwind linkage mode via crt-static on gnullvm targets

Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
This commit is contained in:
Mateusz Mikuła 2024-09-28 11:05:03 +02:00
parent 329e7b4d4e
commit d442cf54ea
3 changed files with 10 additions and 6 deletions

View file

@ -42,6 +42,8 @@ pub(crate) fn opts() -> TargetOptions {
eh_frame_header: false,
no_default_libraries: false,
has_thread_local: true,
crt_static_allows_dylibs: true,
crt_static_respected: true,
// FIXME(davidtwco): Support Split DWARF on Windows GNU - may require LLVM changes to
// output DWO, despite using DWARF, doesn't use ELF..
debuginfo_kind: DebuginfoKind::Pdb,