| ... | @@ -377,7 +377,10 @@ pub fn main2() -> %void { | ... | @@ -377,7 +377,10 @@ pub fn main2() -> %void { |
| 377 | | 377 | |
| 378 | const allocator = &incrementing_allocator.allocator; | 378 | const allocator = &incrementing_allocator.allocator; |
| 379 | | 379 | |
| 380 | const target_file = "input.zig"; // TODO | 380 | const args = %return os.argsAlloc(allocator); |
| | 381 | defer os.argsFree(allocator, args); |
| | 382 | |
| | 383 | const target_file = args[1]; |
| 381 | | 384 | |
| 382 | const target_file_buf = %return io.readFileAlloc(target_file, allocator); | 385 | const target_file_buf = %return io.readFileAlloc(target_file, allocator); |
| 383 | | 386 | |