authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:06:29 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:06:29 -07:00
log62244aea59b72660bb48ac02797ef554d1c52bc1
tree474315c62d524f19b6644f62ccd7db2141c46e57
parent7503cd633d5900cc7e77a0b7c379dd8a786b6871
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


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

build.zig+6-4
...@@ -3,7 +3,7 @@ const deps = @import("./deps.zig");...@@ -3,7 +3,7 @@ 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 gen_step = b.step("generate", "");9 const gen_step = b.step("generate", "");
...@@ -15,9 +15,11 @@ pub fn build(b: *std.Build) void {...@@ -15,9 +15,11 @@ pub fn build(b: *std.Build) void {
15 gen_step.dependOn(&gen_install.step);15 gen_step.dependOn(&gen_install.step);
1616
17 const tests = b.addTest(.{17 const tests = b.addTest(.{
18 .root_source_file = b.path("test.zig"),18 .root_module = b.createModule(.{
19 .target = target,19 .root_source_file = b.path("test.zig"),
20 .optimize = mode,20 .target = target,
21 .optimize = mode,
22 }),
21 });23 });
22 deps.addAllTo(tests);24 deps.addAllTo(tests);
23 tests.use_llvm = !disable_llvm;25 tests.use_llvm = !disable_llvm;
licenses.txt+6
...@@ -1,10 +1,16 @@...@@ -1,10 +1,16 @@
1MPL-2.0:1MPL-2.0:
2= https://spdx.org/licenses/MPL-2.02= https://spdx.org/licenses/MPL-2.0
3- This3- This
4- git https://github.com/nektro/zig-nio
4- git https://github.com/nektro/zig-unicode-idna5- git https://github.com/nektro/zig-unicode-idna
56
6MIT:7MIT:
7= https://spdx.org/licenses/MIT8= https://spdx.org/licenses/MIT
8- git https://github.com/nektro/zig-expect9- git https://github.com/nektro/zig-expect
9- git https://github.com/nektro/zig-extras10- git https://github.com/nektro/zig-extras
11- git https://github.com/nektro/zig-sys-darwin
12- git https://github.com/nektro/zig-sys-linux
10- git https://github.com/nektro/zig-unicode-ucd13- git https://github.com/nektro/zig-unicode-ucd
14
15Unspecified:
16- system_lib c