From 48d584e3a33a76ef4ea643905a11d311e9ed8bbf Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 1 Aug 2024 22:04:40 -0700 Subject: std.debug: reorg and clarify API goals After this commit: `std.debug.SelfInfo` is a cross-platform abstraction for the current executable's own debug information, with a goal of minimal code bloat and compilation speed penalty. `std.debug.Dwarf` does not assume the current executable is itself the thing being debugged, however, it does assume the debug info has the same CPU architecture and OS as the current executable. It is planned to remove this limitation. --- src/crash_report.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/crash_report.zig b/src/crash_report.zig index 0f9e73a3cb..d4fe72a8e8 100644 --- a/src/crash_report.zig +++ b/src/crash_report.zig @@ -256,7 +256,7 @@ const StackContext = union(enum) { current: struct { ret_addr: ?usize, }, - exception: *const debug.ThreadContext, + exception: *debug.ThreadContext, not_supported: void, pub fn dumpStackTrace(ctx: @This()) void { -- cgit v1.2.3