| author | |
| committer | |
| log | 25dff500aea481527ea3aeaf9526e32b023326c1 |
| tree | 53c20e6847bd080f4eb19ff391dc412b726c8e1d |
| parent | 153d74aedae1bb245196168697f5407c270f34f1 |
| signature | Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw |
2 files changed, 3 insertions(+), 3 deletions(-)
build.zig+2-2| ... | ... | @@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void { |
| 15 | 15 | }), |
| 16 | 16 | }); |
| 17 | 17 | deps.addAllTo(test_exe); |
| 18 | test_exe.linkLibC(); | |
| 18 | test_exe.root_module.link_libc = true; | |
| 19 | 19 | test_exe.use_llvm = !disable_llvm; |
| 20 | 20 | test_exe.use_lld = !disable_llvm; |
| 21 | 21 | b.getInstallStep().dependOn(&test_exe.step); |
| ... | ... | @@ -59,7 +59,7 @@ fn addFuzzer(b: *std.Build, target: std.Build.ResolvedTarget, comptime name: []c |
| 59 | 59 | .optimize = .Debug, |
| 60 | 60 | }), |
| 61 | 61 | }); |
| 62 | fuzz_lib.want_lto = true; | |
| 62 | fuzz_lib.lto = .full; | |
| 63 | 63 | fuzz_lib.bundle_compiler_rt = true; |
| 64 | 64 | fuzz_lib.use_llvm = true; |
| 65 | 65 | fuzz_lib.use_lld = true; |
fuzz/main.zig+1-1| ... | ... | @@ -3,7 +3,7 @@ const json = @import("json"); |
| 3 | 3 | const nfs = @import("nfs"); |
| 4 | 4 | |
| 5 | 5 | pub export fn main() void { |
| 6 | var gpa = std.heap.GeneralPurposeAllocator(.{}){}; | |
| 6 | var gpa = std.heap.DebugAllocator(.{}){}; | |
| 7 | 7 | defer std.debug.assert(gpa.deinit() == .ok); |
| 8 | 8 | const allocator = gpa.allocator(); |
| 9 | 9 |