Commit 2e5b3b5c7c

Elaine Gibson <ypsvlq@gmail.com>
2025-05-31 04:20:55
build runner: disable fuzz in single-threaded builds
1 parent 2cfa0f5
Changed files (1)
lib
lib/compiler/build_runner.zig
@@ -435,6 +435,9 @@ pub fn main() !void {
             else => return err,
         };
         if (fuzz) {
+            if (builtin.single_threaded) {
+                fatal("--fuzz not yet implemented for single-threaded builds", .{});
+            }
             switch (builtin.os.tag) {
                 // Current implementation depends on two things that need to be ported to Windows:
                 // * Memory-mapping to share data between the fuzzer and build runner.