| ... | ... | @@ -3,10 +3,14 @@ const io = std.io; |
| 3 | 3 | const process = std.process; |
| 4 | 4 | const fs = std.fs; |
| 5 | 5 | const mem = std.mem; |
| 6 | | const warn = std.debug.warn; |
| 7 | | const allocator = std.testing.allocator; |
| 6 | const warn = std.log.warn; |
| 7 | |
| 8 | var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){}; |
| 9 | const allocator = &general_purpose_allocator.allocator; |
| 8 | 10 | |
| 9 | 11 | pub fn main() !void { |
| 12 | defer _ = general_purpose_allocator.deinit(); |
| 13 | |
| 10 | 14 | var args_it = process.args(); |
| 11 | 15 | const exe = try unwrapArg(args_it.next(allocator).?); |
| 12 | 16 | var catted_anything = false; |