authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-05-16 02:47:48 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-05-16 02:47:48 -07:00
loge23dcb70e6d5d39edd510dfdbafe43a0392fb7b8
tree5e07eb485c1e3bfd4b2299322919d3b97298756f
parent407a70207ee818f6920096f40779e3fb52db49b0

upgrade to zig 0.12


1 files changed, 2 insertions(+), 3 deletions(-)

build.zig+2-3
...@@ -1,7 +1,6 @@...@@ -1,7 +1,6 @@
1const std = @import("std");1const std = @import("std");
2const Builder = std.build.Builder;
32
4pub fn build(b: *Builder) void {3pub fn build(b: *std.Build) void {
5 const target = b.standardTargetOptions(.{});4 const target = b.standardTargetOptions(.{});
6 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;5 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
76
...@@ -19,6 +18,6 @@ pub fn build(b: *Builder) void {...@@ -19,6 +18,6 @@ pub fn build(b: *Builder) void {
19 run_cmd.addArgs(args);18 run_cmd.addArgs(args);
20 }19 }
2120
22 const run_step = b.step("test", "Run the app");21 const run_step = b.step("run", "Run the app");
23 run_step.dependOn(&run_cmd.step);22 run_step.dependOn(&run_cmd.step);
24}23}