authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:16:58 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:16:58 -07:00
loga7c82884f054e255aa9f4de2b7a84be572f48196
tree53e5726792cdabf8923ae81ed9fcfaf53e3a8b32
parentabb4775126543c1054a05f547884775919f275d0
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


3 files changed, 7 insertions(+), 9 deletions(-)

build.zig+6-4
......@@ -3,13 +3,15 @@ const deps = @import("./deps.zig");
33
44pub fn build(b: *std.Build) void {
55 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;
77 const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false;
88
99 const tests = b.addTest(.{
10 .root_source_file = b.path("test.zig"),
11 .target = target,
12 .optimize = mode,
10 .root_module = b.createModule(.{
11 .root_source_file = b.path("test.zig"),
12 .target = target,
13 .optimize = mode,
14 }),
1315 });
1416 deps.addAllTo(tests);
1517 tests.use_llvm = !disable_llvm;
licenses.txt-3
......@@ -3,17 +3,14 @@ MIT:
33- This
44- git https://github.com/nektro/zig-expect
55- git https://github.com/nektro/zig-extras
6- git https://github.com/nektro/zig-json
76- git https://github.com/nektro/zig-leven
87- git https://github.com/nektro/zig-licenses-text
98- git https://github.com/nektro/zig-sys-darwin
109- git https://github.com/nektro/zig-sys-linux
1110- git https://github.com/nektro/zig-time
12- git https://github.com/nektro/zig-tracer
1311
1412MPL-2.0:
1513= https://spdx.org/licenses/MPL-2.0
16- git https://github.com/nektro/zig-intrusive-parser
1714- git https://github.com/nektro/zig-nfs
1815- git https://github.com/nektro/zig-nio
1916
test.zig+1-2
......@@ -13,7 +13,6 @@ test {
1313}
1414test {
1515 const alloc = std.testing.allocator;
16 const dir = std.fs.cwd();
17 const license = try detect.detectInDir(alloc, dir);
16 const license = try detect.detectInDir(alloc, .cwd());
1817 try expect(license).toEqualString("MIT");
1918}