| ... | ... | @@ -18,6 +18,7 @@ pub fn build(b: *std.Build) void { |
| 18 | 18 | test_exe.linkLibC(); |
| 19 | 19 | test_exe.use_llvm = !disable_llvm; |
| 20 | 20 | test_exe.use_lld = !disable_llvm; |
| 21 | b.getInstallStep().dependOn(&test_exe.step); |
| 21 | 22 | |
| 22 | 23 | const build_options = b.addOptions(); |
| 23 | 24 | build_options.addOption(string, "JSONTestSuite_root", deps.dirs._bebdygynna6k ++ "/test_parsing"); |
| ... | ... | @@ -34,6 +35,7 @@ pub fn build(b: *std.Build) void { |
| 34 | 35 | // |
| 35 | 36 | |
| 36 | 37 | const fuzz_exe = addFuzzer(b, target, "json", &.{}); |
| 38 | b.getInstallStep().dependOn(fuzz_exe.step.dependencies.items[0]); |
| 37 | 39 | |
| 38 | 40 | const fuzz_run = b.addSystemCommand(&.{"afl-fuzz"}); |
| 39 | 41 | fuzz_run.step.dependOn(&fuzz_exe.step); |