authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-04 19:39:11 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-04 19:39:11 -07:00
log153d74aedae1bb245196168697f5407c270f34f1
tree642b808481906bbaf1449a3358ca75ebd01f9873
parentea65d770e41a2a7f4818de7a290b333da57c5c94
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

compile everything on zig build


1 files changed, 2 insertions(+), 0 deletions(-)

build.zig+2
...@@ -18,6 +18,7 @@ pub fn build(b: *std.Build) void {...@@ -18,6 +18,7 @@ pub fn build(b: *std.Build) void {
18 test_exe.linkLibC();18 test_exe.linkLibC();
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);
2122
22 const build_options = b.addOptions();23 const build_options = b.addOptions();
23 build_options.addOption(string, "JSONTestSuite_root", deps.dirs._bebdygynna6k ++ "/test_parsing");24 build_options.addOption(string, "JSONTestSuite_root", deps.dirs._bebdygynna6k ++ "/test_parsing");
...@@ -34,6 +35,7 @@ pub fn build(b: *std.Build) void {...@@ -34,6 +35,7 @@ pub fn build(b: *std.Build) void {
34 //35 //
3536
36 const fuzz_exe = addFuzzer(b, target, "json", &.{});37 const fuzz_exe = addFuzzer(b, target, "json", &.{});
38 b.getInstallStep().dependOn(fuzz_exe.step.dependencies.items[0]);
3739
38 const fuzz_run = b.addSystemCommand(&.{"afl-fuzz"});40 const fuzz_run = b.addSystemCommand(&.{"afl-fuzz"});
39 fuzz_run.step.dependOn(&fuzz_exe.step);41 fuzz_run.step.dependOn(&fuzz_exe.step);