authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-12-28 19:20:36 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-12-28 19:20:36 -08:00
log6f98a0f349e71b1c54a2e1e8c495a37243b3b722
tree39672121a9294daed140c783eab695d7fc1c6226
parente794f7ec499a044449a64e140f5e02cff2685038

update to zig 0.13


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

.gitignore+3-1
...@@ -1,4 +1,6 @@...@@ -1,4 +1,6 @@
1zig-*1.zig-cache
2zig-out
2.zigmod3.zigmod
3deps.zig4deps.zig
5files.zig
4zigmod.lock6zigmod.lock
build.zig+2-2
...@@ -1,13 +1,13 @@...@@ -1,13 +1,13 @@
1const std = @import("std");1const std = @import("std");
2const deps = @import("./deps.zig");2const deps = @import("./deps.zig");
33
4pub fn build(b: *std.build.Builder) void {4pub fn build(b: *std.Build) void {
5 const target = b.standardTargetOptions(.{});5 const target = b.standardTargetOptions(.{});
6 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;6 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
77
8 const exe = b.addExecutable(.{8 const exe = b.addExecutable(.{
9 .name = "zig-pek",9 .name = "zig-pek",
10 .root_source_file = .{ .path = "src/main.zig" },10 .root_source_file = b.path("src/main.zig"),
11 .target = target,11 .target = target,
12 .optimize = mode,12 .optimize = mode,
13 });13 });