Commit 79ef96b6a4
Changed files (1)
lib
std
special
init-exe
lib/std/special/init-exe/build.zig
@@ -18,6 +18,9 @@ pub fn build(b: *Builder) void {
const run_cmd = exe.run();
run_cmd.step.dependOn(b.getInstallStep());
+ if (b.args) |args| {
+ run_cmd.addArgs(args);
+ }
const run_step = b.step("run", "Run the app");
run_step.dependOn(&run_cmd.step);