We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3617615 commit c72f584Copy full SHA for c72f584
src/libunwind.zig
@@ -71,6 +71,8 @@ pub fn buildStaticLib(comp: *Compilation) !void {
71
try cflags.append("-Wa,--noexecstack");
72
try cflags.append("-fvisibility=hidden");
73
try cflags.append("-fvisibility-inlines-hidden");
74
+ // necessary so that libunwind can unwind through its own stack frames
75
+ try cflags.append("-funwind-tables");
76
77
// This is intentionally always defined because the macro definition means, should it only
78
// build for the target specified by compiler defines. Since we pass -target the compiler
0 commit comments