From b0b5d6ad7406bcd36da79f4bd343bd6c13da679a Mon Sep 17 00:00:00 2001 From: Adrian Hodos Date: Mon, 25 May 2026 13:57:55 +0300 Subject: [PATCH] Link against libstdc++exp for backtrace support --- core/debug/trace/trace_cpp.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/debug/trace/trace_cpp.odin b/core/debug/trace/trace_cpp.odin index 1a96ee112..4828b207e 100644 --- a/core/debug/trace/trace_cpp.odin +++ b/core/debug/trace/trace_cpp.odin @@ -8,7 +8,7 @@ import "core:strings" import "core:c" // NOTE: Relies on C++23 which adds 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 -} \ No newline at end of file +}