build runner: disable fuzz in single-threaded builds

This commit is contained in:
Elaine Gibson 2025-05-31 03:20:55 +01:00
parent 2cfa0f567d
commit 2e5b3b5c7c

View File

@ -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.