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 {
1515 }),
1616 });
1717 deps.addAllTo(test_exe);
18 test_exe.linkLibC();
18 test_exe.root_module.link_libc = true;
1919 test_exe.use_llvm = !disable_llvm;
2020 test_exe.use_lld = !disable_llvm;
2121 b.getInstallStep().dependOn(&test_exe.step);
......@@ -59,7 +59,7 @@ fn addFuzzer(b: *std.Build, target: std.Build.ResolvedTarget, comptime name: []c
5959 .optimize = .Debug,
6060 }),
6161 });
62 fuzz_lib.want_lto = true;
62 fuzz_lib.lto = .full;
6363 fuzz_lib.bundle_compiler_rt = true;
6464 fuzz_lib.use_llvm = true;
6565 fuzz_lib.use_lld = true;
fuzz/main.zig+1-1
......@@ -3,7 +3,7 @@ const json = @import("json");
33const nfs = @import("nfs");
44
55pub export fn main() void {
6 var gpa = std.heap.GeneralPurposeAllocator(.{}){};
6 var gpa = std.heap.DebugAllocator(.{}){};
77 defer std.debug.assert(gpa.deinit() == .ok);
88 const allocator = gpa.allocator();
99