From d16e5ca7fc308510444105915dcdc602beb80838 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Thu, 16 Feb 2023 08:41:45 +0100 Subject: fix build --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.zig') 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 { // Setup the output name const fuzz_executable_name = "fuzz"; - const fuzz_exe_path = try std.fs.path.join(b.allocator, &.{ b.cache_root, fuzz_executable_name }); + const fuzz_exe_path = try b.cache_root.join(b.allocator, &.{fuzz_executable_name}); // We want `afl-clang-lto -o path/to/output path/to/library` const fuzz_compile = b.addSystemCommand(&.{ "afl-clang-lto", "-o", fuzz_exe_path }); -- cgit v1.2.3