mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
build runner: disable fuzz in single-threaded builds
This commit is contained in:
parent
2cfa0f567d
commit
2e5b3b5c7c
1 changed files with 3 additions and 0 deletions
|
|
@ -435,6 +435,9 @@ pub fn main() !void {
|
||||||
else => return err,
|
else => return err,
|
||||||
};
|
};
|
||||||
if (fuzz) {
|
if (fuzz) {
|
||||||
|
if (builtin.single_threaded) {
|
||||||
|
fatal("--fuzz not yet implemented for single-threaded builds", .{});
|
||||||
|
}
|
||||||
switch (builtin.os.tag) {
|
switch (builtin.os.tag) {
|
||||||
// Current implementation depends on two things that need to be ported to Windows:
|
// Current implementation depends on two things that need to be ported to Windows:
|
||||||
// * Memory-mapping to share data between the fuzzer and build runner.
|
// * Memory-mapping to share data between the fuzzer and build runner.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue