From 2e5b3b5c7c7f5e46f1b4481bd81652db869da6d9 Mon Sep 17 00:00:00 2001 From: Elaine Gibson Date: Sat, 31 May 2025 03:20:55 +0100 Subject: [PATCH] build runner: disable fuzz in single-threaded builds --- lib/compiler/build_runner.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/compiler/build_runner.zig b/lib/compiler/build_runner.zig index 31985f3e3d..d73fb6d29d 100644 --- a/lib/compiler/build_runner.zig +++ b/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.