| ... | @@ -62,7 +62,7 @@ fn addFuzzer(b: *std.Build, target: std.Build.ResolvedTarget, comptime name: []c | ... | @@ -62,7 +62,7 @@ fn addFuzzer(b: *std.Build, target: std.Build.ResolvedTarget, comptime name: []c |
| 62 | fuzz_compile.addArgs(afl_clang_args); | 62 | fuzz_compile.addArgs(afl_clang_args); |
| 63 | | 63 | |
| 64 | // Install the cached output to the install 'bin' path | 64 | // Install the cached output to the install 'bin' path |
| 65 | const fuzz_install = b.addInstallBinFile(.{ .path = fuzz_exe_path }, fuzz_executable_name); | 65 | const fuzz_install = b.addInstallBinFile(.{ .cwd_relative = fuzz_exe_path }, fuzz_executable_name); |
| 66 | fuzz_install.step.dependOn(&fuzz_compile.step); | 66 | fuzz_install.step.dependOn(&fuzz_compile.step); |
| 67 | | 67 | |
| 68 | return fuzz_install; | 68 | return fuzz_install; |