authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:18:43 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:18:43 -07:00
logd2369e4785af50f04797169d2d586dfbc9bbd415
tree1a99aa4e24b45225430900566e2cdeee6ee47150
parent380507b4adcc888972a5debcc168c589f052cc9c
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


2 files changed, 10 insertions(+), 4 deletions(-)

build.zig+6-4
...@@ -3,13 +3,15 @@ const deps = @import("./deps.zig");...@@ -3,13 +3,15 @@ const deps = @import("./deps.zig");
33
4pub fn build(b: *std.Build) 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.OptimizeMode, "mode", "") orelse .Debug;
7 const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false;7 const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false;
88
9 const t = b.addTest(.{9 const t = b.addTest(.{
10 .root_source_file = b.path("test.zig"),10 .root_module = b.createModule(.{
11 .target = target,11 .root_source_file = b.path("test.zig"),
12 .optimize = mode,12 .target = target,
13 .optimize = mode,
14 }),
13 });15 });
14 deps.addAllTo(t);16 deps.addAllTo(t);
15 t.use_llvm = !disable_llvm;17 t.use_llvm = !disable_llvm;
licenses.txt+4
...@@ -6,5 +6,9 @@ MIT:...@@ -6,5 +6,9 @@ MIT:
6- git https://github.com/nektro/zig-sys-darwin6- git https://github.com/nektro/zig-sys-darwin
7- git https://github.com/nektro/zig-sys-linux7- git https://github.com/nektro/zig-sys-linux
88
9MPL-2.0:
10= https://spdx.org/licenses/MPL-2.0
11- git https://github.com/nektro/zig-nio
12
9Unspecified:13Unspecified:
10- system_lib c14- system_lib c