diff options
| author | Chris Boesch <[email protected]> | 2023-04-12 19:02:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-12 19:02:43 +0200 |
| commit | bf013df4bfa03de213591befe5c2b1b922712356 (patch) | |
| tree | 79af9e586dc831b2b79eb8e54a9f151361fd436a /build.zig | |
| parent | 3121ebff304c729aa3bd66015d5667ad9142a487 (diff) | |
| parent | bc98057d669c3256c3820bb18ca88d166426da23 (diff) | |
| download | ziglings-bf013df4bfa03de213591befe5c2b1b922712356.tar.xz ziglings-bf013df4bfa03de213591befe5c2b1b922712356.zip | |
Merge pull request #235 from perillo/update-to-version-0.11.0-dev.2560
Update the code to the new zig version
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -583,9 +583,9 @@ pub fn build(b: *Build) !void { if (ex.C) { build_step.linkLibC(); } - build_step.install(); + b.installArtifact(build_step); - const run_step = build_step.run(); + const run_step = b.addRunArtifact(build_step); const test_step = b.step("test", b.fmt("Run {s} without checking output", .{ex.main_file})); if (ex.skip) { @@ -636,9 +636,9 @@ pub fn build(b: *Build) !void { if (ex.C) { build_step.linkLibC(); } - build_step.install(); + b.installArtifact(build_step); - const run_step = build_step.run(); + const run_step = b.addRunArtifact(build_step); if (ex.skip) { const skip_step = SkipStep.create(b, ex); test_step.dependOn(&skip_step.step); @@ -663,7 +663,7 @@ pub fn build(b: *Build) !void { }) catch unreachable; const build_step = b.addExecutable(.{ .name = base_name, .root_source_file = .{ .path = file_path } }); - build_step.install(); + b.installArtifact(build_step); const verify_stepn = ZiglingStep.create(b, ex, use_healed); verify_stepn.step.dependOn(prev_step); |
