authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-06 13:05:21-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-07 00:48:32-07:00
log2a651eab454151b590a9891b5c8e18c9ff8ea4aa
tree74d4317e2067826479224c15d9220e9176f720e0
parent904fcda736142c07237d0d12728ef5347468cfbe

build runner: --fuzz not yet supported on Windows


1 files changed, 8 insertions(+), 0 deletions(-)

lib/compiler/build_runner.zig+8
......@@ -418,6 +418,14 @@ pub fn main() !void {
418418 else => return err,
419419 };
420420 if (fuzz) {
421 switch (builtin.os.tag) {
422 // Current implementation depends on two things that need to be ported to Windows:
423 // * Memory-mapping to share data between the fuzzer and build runner.
424 // * COFF/PE support added to `std.debug.Info` (it needs a batching API for resolving
425 // many addresses to source locations).
426 .windows => fatal("--fuzz not yet implemented for {s}", .{@tagName(builtin.os.tag)}),
427 else => {},
428 }
421429 const listen_address = std.net.Address.parseIp("127.0.0.1", listen_port) catch unreachable;
422430 try Fuzz.start(
423431 gpa,