diff options
| author | 2023-02-16 08:41:45 +0100 | |
|---|---|---|
| committer | 2023-02-16 08:41:45 +0100 | |
| commit | d16e5ca7fc308510444105915dcdc602beb80838 (patch) | |
| tree | d376541f397b768ab83dc382b2901c33c9acda70 /build.zig | |
| parent | fix all C prototypes (diff) | |
| download | zig-sqlite-d16e5ca7fc308510444105915dcdc602beb80838.tar.gz zig-sqlite-d16e5ca7fc308510444105915dcdc602beb80838.tar.xz zig-sqlite-d16e5ca7fc308510444105915dcdc602beb80838.zip | |
fix build
Diffstat (limited to '')
| -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 }); |