Here is the update of build.zig to compile on Zig 0.17. Just a change of one-line. ``` diff --git a/build.zig b/build.zig index 776277f..43d86e0 100644 --- a/build.zig +++ b/build.zig @@ -77,9 +77,10 @@ pub fn build(b: *std.Build) void { const run_cmd = b.addRunArtifact(example); run_cmd.step.dependOn(&install_example.step); - if (b.args) |args| { - run_cmd.addArgs(args); - } + run_cmd.addPassthruArgs(); const run_step = b.step( b.fmt("run-{s}", .{example_name}), ```
Activity
feat: support Zig 0.17 alongside 0.16 (meszmate#160)