this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

root: fix default panic handler

+2 -2
+2 -2
src/main.zig
··· 59 59 }; 60 60 61 61 /// Resets terminal state on a panic, then calls the default zig panic handler 62 - pub fn panic_handler(msg: []const u8, error_return_trace: ?*std.builtin.StackTrace, ret_addr: ?usize) noreturn { 62 + pub fn panic_handler(msg: []const u8, _: ?*std.builtin.StackTrace, ret_addr: ?usize) noreturn { 63 63 recover(); 64 - std.debug.defaultPanic(msg, error_return_trace, ret_addr); 64 + std.debug.defaultPanic(msg, ret_addr); 65 65 } 66 66 67 67 /// Resets the terminal state using the global tty instance. Use this only to recover during a panic