Skip to content

Commit a7b48fc

Browse files
committed
build runner: disable fuzz in single-threaded builds
1 parent 7453088 commit a7b48fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/compiler/build_runner.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,9 @@ pub fn main() !void {
435435
else => return err,
436436
};
437437
if (fuzz) {
438+
if (builtin.single_threaded) {
439+
fatal("--fuzz not available in single-threaded builds", .{});
440+
}
438441
switch (builtin.os.tag) {
439442
// Current implementation depends on two things that need to be ported to Windows:
440443
// * Memory-mapping to share data between the fuzzer and build runner.

0 commit comments

Comments
 (0)