mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
compiler.build_runner: only build Fuzz on 64-bit platforms
This commit is contained in:
parent
8957b27074
commit
c031b62b83
@ -431,6 +431,13 @@ pub fn main() !void {
|
|||||||
.windows => fatal("--fuzz not yet implemented for {s}", .{@tagName(builtin.os.tag)}),
|
.windows => fatal("--fuzz not yet implemented for {s}", .{@tagName(builtin.os.tag)}),
|
||||||
else => {},
|
else => {},
|
||||||
}
|
}
|
||||||
|
if (@bitSizeOf(usize) != 64) {
|
||||||
|
// Current implementation depends on posix.mmap()'s second parameter, `length: usize`,
|
||||||
|
// being compatible with `std.fs.getEndPos() u64`'s return value. This is not the case
|
||||||
|
// on 32-bit platforms.
|
||||||
|
// Affects or affected by issues #5185, #22523, and #22464.
|
||||||
|
fatal("--fuzz not yet implemented on {d}-bit platforms", .{@bitSizeOf(usize)});
|
||||||
|
}
|
||||||
const listen_address = std.net.Address.parseIp("127.0.0.1", listen_port) catch unreachable;
|
const listen_address = std.net.Address.parseIp("127.0.0.1", listen_port) catch unreachable;
|
||||||
try Fuzz.start(
|
try Fuzz.start(
|
||||||
gpa,
|
gpa,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user