authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-04 19:39:22 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-04 19:39:22 -07:00
log25dff500aea481527ea3aeaf9526e32b023326c1
tree53c20e6847bd080f4eb19ff391dc412b726c8e1d
parent153d74aedae1bb245196168697f5407c270f34f1
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.16.0


2 files changed, 3 insertions(+), 3 deletions(-)

build.zig+2-2
...@@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void {...@@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void {
15 }),15 }),
16 });16 });
17 deps.addAllTo(test_exe);17 deps.addAllTo(test_exe);
18 test_exe.linkLibC();18 test_exe.root_module.link_libc = true;
19 test_exe.use_llvm = !disable_llvm;19 test_exe.use_llvm = !disable_llvm;
20 test_exe.use_lld = !disable_llvm;20 test_exe.use_lld = !disable_llvm;
21 b.getInstallStep().dependOn(&test_exe.step);21 b.getInstallStep().dependOn(&test_exe.step);
...@@ -59,7 +59,7 @@ fn addFuzzer(b: *std.Build, target: std.Build.ResolvedTarget, comptime name: []c...@@ -59,7 +59,7 @@ fn addFuzzer(b: *std.Build, target: std.Build.ResolvedTarget, comptime name: []c
59 .optimize = .Debug,59 .optimize = .Debug,
60 }),60 }),
61 });61 });
62 fuzz_lib.want_lto = true;62 fuzz_lib.lto = .full;
63 fuzz_lib.bundle_compiler_rt = true;63 fuzz_lib.bundle_compiler_rt = true;
64 fuzz_lib.use_llvm = true;64 fuzz_lib.use_llvm = true;
65 fuzz_lib.use_lld = true;65 fuzz_lib.use_lld = true;
fuzz/main.zig+1-1
...@@ -3,7 +3,7 @@ const json = @import("json");...@@ -3,7 +3,7 @@ const json = @import("json");
3const nfs = @import("nfs");3const nfs = @import("nfs");
44
5pub export fn main() void {5pub export fn main() void {
6 var gpa = std.heap.GeneralPurposeAllocator(.{}){};6 var gpa = std.heap.DebugAllocator(.{}){};
7 defer std.debug.assert(gpa.deinit() == .ok);7 defer std.debug.assert(gpa.deinit() == .ok);
8 const allocator = gpa.allocator();8 const allocator = gpa.allocator();
99