Merge pull request #6732 from adihodos/fix-backtrace

Link against libstdc++exp for backtrace support
This commit is contained in:
Jeroen van Rijn
2026-06-05 16:42:04 +02:00
committed by GitHub

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
}
}