commit 2a651eab454151b590a9891b5c8e18c9ff8ea4aa (tree)
parent 904fcda736142c07237d0d12728ef5347468cfbe
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 6 Aug 2024 13:05:21 -0700
build runner: --fuzz not yet supported on Windows
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/lib/compiler/build_runner.zig b/lib/compiler/build_runner.zig
@@ -418,6 +418,14 @@ pub fn main() !void {
else => return err,
};
if (fuzz) {
+ 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.
+ // * COFF/PE support added to `std.debug.Info` (it needs a batching API for resolving
+ // many addresses to source locations).
+ .windows => fatal("--fuzz not yet implemented for {s}", .{@tagName(builtin.os.tag)}),
+ else => {},
+ }
const listen_address = std.net.Address.parseIp("127.0.0.1", listen_port) catch unreachable;
try Fuzz.start(
gpa,