| ... | @@ -48,8 +48,6 @@ pub const StackTrace = struct { | ... | @@ -48,8 +48,6 @@ pub const StackTrace = struct { |
| 48 | if (builtin.os.tag == .freestanding) return; | 48 | if (builtin.os.tag == .freestanding) return; |
| 49 | | 49 | |
| 50 | _ = options; | 50 | _ = options; |
| 51 | var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator); | | |
| 52 | defer arena.deinit(); | | |
| 53 | const debug_info = std.debug.getSelfDebugInfo() catch |err| { | 51 | const debug_info = std.debug.getSelfDebugInfo() catch |err| { |
| 54 | return writer.print("\nUnable to print stack trace: Unable to open debug info: {s}\n", .{@errorName(err)}); | 52 | return writer.print("\nUnable to print stack trace: Unable to open debug info: {s}\n", .{@errorName(err)}); |
| 55 | }; | 53 | }; |