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 89c87b0 commit e69522dCopy full SHA for e69522d
template/c/build.zig
@@ -4,7 +4,7 @@ pub fn build(b: *std.Build) void {
4
const target = b.standardTargetOptions(.{});
5
const optimize = b.standardOptimizeOption(.{});
6
7
- const run = b.step("run", "Run the app");
+ const run_step = b.step("run", "Run the app");
8
{
9
const exe = b.addExecutable(.{
10
.name = "cproject",
@@ -15,6 +15,6 @@ pub fn build(b: *std.Build) void {
15
});
16
exe.addCSourceFile(.{ .file = b.path("main.c") });
17
exe.linkLibC();
18
- run.dependOn(&b.addRunArtifact(exe).step);
+ run_step.dependOn(&b.addRunArtifact(exe).step);
19
}
20
0 commit comments