summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index fe9a77e..592055b 100644
--- a/build.zig
+++ b/build.zig
@@ -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 });