We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbdb254 + e3099a1 commit b6a37f6Copy full SHA for b6a37f6
src/main.zig
@@ -41,6 +41,10 @@ pub fn main() !void {
41
};
42
43
run(alloc) catch |err| {
44
+ // If explicit filters were set, they won't be valid anymore because
45
+ // the args_arena is gone. We need to set it to something that's not
46
+ // invalid. (We should just move the args_arena up to main)
47
+ log.opts.filter_scopes = &.{};
48
log.fatal(.app, "exit", .{ .err = err });
49
std.posix.exit(1);
50
0 commit comments