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 @@
1zig-*
1.zig-cache
2zig-out
23.zigmod
34deps.zig
5files.zig
46zigmod.lock
build.zig+2-2
......@@ -1,13 +1,13 @@
11const std = @import("std");
22const deps = @import("./deps.zig");
33
4pub fn build(b: *std.build.Builder) void {
4pub fn build(b: *std.Build) void {
55 const target = b.standardTargetOptions(.{});
66 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
77
88 const exe = b.addExecutable(.{
99 .name = "zig-pek",
10 .root_source_file = .{ .path = "src/main.zig" },
10 .root_source_file = b.path("src/main.zig"),
1111 .target = target,
1212 .optimize = mode,
1313 });