diff options
Diffstat (limited to 'codegen/dwp.zig')
| -rw-r--r-- | codegen/dwp.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codegen/dwp.zig b/codegen/dwp.zig index 36ab7cb..02299a1 100644 --- a/codegen/dwp.zig +++ b/codegen/dwp.zig | |||
| @@ -224,7 +224,8 @@ pub fn main() !void { | |||
| 224 | block_len = 0; | 224 | block_len = 0; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | var args_iter = std.process.args(); | 227 | var args_iter = try std.process.argsWithAllocator(allocator); |
| 228 | defer args_iter.deinit(); | ||
| 228 | _ = args_iter.skip(); | 229 | _ = args_iter.skip(); |
| 229 | const output_path = args_iter.next() orelse @panic("No output file arg!"); | 230 | const output_path = args_iter.next() orelse @panic("No output file arg!"); |
| 230 | 231 | ||