this repo has no description
3
fork

Configure Feed

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

main: dont' make debug_allocator a global

+1 -2
+1 -2
src/main.zig
··· 31 31 std.process.exit(1); 32 32 } 33 33 34 - var debug_allocator: std.heap.DebugAllocator(.{}) = .init; 35 - 36 34 pub fn main() !void { 35 + var debug_allocator: std.heap.DebugAllocator(.{}) = .init; 37 36 const gpa, const is_debug = gpa: { 38 37 break :gpa switch (builtin.mode) { 39 38 .Debug, .ReleaseSafe => .{ debug_allocator.allocator(), true },