Link against libstdc++exp for backtrace support

This commit is contained in:
Adrian Hodos
2026-05-25 13:57:55 +03:00
parent 89c71c920f
commit b0b5d6ad74

View File

@@ -8,7 +8,7 @@ import "core:strings"
import "core:c"
// NOTE: Relies on C++23 which adds <stacktrace> and becomes ABI and that can be used
foreign import stdcpplibbacktrace "system:stdc++_libbacktrace"
foreign import stdcpplibbacktrace "system:stdc++exp"
foreign import libdl "system:dl"
@@ -191,4 +191,4 @@ _resolve :: proc(ctx: ^Context, frame: Frame, allocator: runtime.Allocator) -> F
)
return btc.frame
}
}