diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -295,7 +295,7 @@ pub fn build(b: *std.build.Builder) !void { | |||
| 295 | 295 | ||
| 296 | // Setup the output name | 296 | // Setup the output name |
| 297 | const fuzz_executable_name = "fuzz"; | 297 | const fuzz_executable_name = "fuzz"; |
| 298 | const fuzz_exe_path = try std.fs.path.join(b.allocator, &.{ b.cache_root, fuzz_executable_name }); | 298 | const fuzz_exe_path = try b.cache_root.join(b.allocator, &.{fuzz_executable_name}); |
| 299 | 299 | ||
| 300 | // We want `afl-clang-lto -o path/to/output path/to/library` | 300 | // We want `afl-clang-lto -o path/to/output path/to/library` |
| 301 | const fuzz_compile = b.addSystemCommand(&.{ "afl-clang-lto", "-o", fuzz_exe_path }); | 301 | const fuzz_compile = b.addSystemCommand(&.{ "afl-clang-lto", "-o", fuzz_exe_path }); |