We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff7b06 commit 81ff879Copy full SHA for 81ff879
examples/build.zig
@@ -75,6 +75,7 @@ fn add_module(comptime module: []const u8, b: *std.Build, target: std.Build.Reso
75
const install_cmd = b.addInstallArtifact(exe, .{});
76
77
const run_cmd = b.addRunArtifact(exe);
78
+ run_cmd.cwd = b.path(module);
79
run_cmd.step.dependOn(&install_cmd.step);
80
81
const run_step = b.step(name, name);
0 commit comments