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.
1 parent b1f80c5 commit df5c97dCopy full SHA for df5c97d
2 files changed
build/chmod.zig
@@ -4,7 +4,9 @@
4
5
pub fn main(init: std.process.Init) !void {
6
const io = init.io;
7
- var args = init.minimal.args.iterate();
+ const arena = init.arena.allocator();
8
+
9
+ var args = try init.minimal.args.iterateAllocator(arena);
10
_ = args.skip();
11
while (args.next()) |path| {
12
const file = std.Io.Dir.cwd().openFile(
build/clar_fix.zig
@@ -10,7 +10,7 @@ pub fn main(init: std.process.Init) !void {
const arena = init.arena.allocator();
13
14
15
16
const clar_fixture_h = args.next() orelse fatal("expected path to 'clar/fixtures.h' file", .{});
0 commit comments