| ... | @@ -418,6 +418,14 @@ pub fn main() !void { | ... | @@ -418,6 +418,14 @@ pub fn main() !void { |
| 418 | else => return err, | 418 | else => return err, |
| 419 | }; | 419 | }; |
| 420 | if (fuzz) { | 420 | 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 | } |
| 421 | const listen_address = std.net.Address.parseIp("127.0.0.1", listen_port) catch unreachable; | 429 | const listen_address = std.net.Address.parseIp("127.0.0.1", listen_port) catch unreachable; |
| 422 | try Fuzz.start( | 430 | try Fuzz.start( |
| 423 | gpa, | 431 | gpa, |