mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
std.builtin: removing unused arena allocator in StackTrace.format
This commit is contained in:
parent
c690537154
commit
4adb10df47
@ -48,8 +48,6 @@ pub const StackTrace = struct {
|
||||
if (builtin.os.tag == .freestanding) return;
|
||||
|
||||
_ = options;
|
||||
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
|
||||
defer arena.deinit();
|
||||
const debug_info = std.debug.getSelfDebugInfo() catch |err| {
|
||||
return writer.print("\nUnable to print stack trace: Unable to open debug info: {s}\n", .{@errorName(err)});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user