authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:15:19 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:15:19 -07:00
logc4f6c6dfd4f1ec1df2b4c1407d56676402a02061
tree6ea1f660235cea5961aadd384d1055dce74b287c
parent618eddde4ffbc6d34100e4bc6aa654d41161537a
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


2 files changed, 16 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 tests = b.addTest(.{9 const tests = 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 tests.use_llvm = !disable_llvm;16 tests.use_llvm = !disable_llvm;
15 tests.use_lld = !disable_llvm;17 tests.use_lld = !disable_llvm;
licenses.txt+10
...@@ -2,3 +2,13 @@ MIT:...@@ -2,3 +2,13 @@ MIT:
2= https://spdx.org/licenses/MIT2= https://spdx.org/licenses/MIT
3- This3- This
4- git https://github.com/nektro/zig-expect4- git https://github.com/nektro/zig-expect
5- git https://github.com/nektro/zig-extras
6- git https://github.com/nektro/zig-sys-darwin
7- git https://github.com/nektro/zig-sys-linux
8
9MPL-2.0:
10= https://spdx.org/licenses/MPL-2.0
11- git https://github.com/nektro/zig-nio
12
13Unspecified:
14- system_lib c