Skip to content

Commit 311f8f5

Browse files
committed
build runner: --fuzz not yet supported on Windows
1 parent 206ebf8 commit 311f8f5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/compiler/build_runner.zig

+8
Original file line numberDiff line numberDiff line change
@@ -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,

0 commit comments

Comments
 (0)