mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
std.zig.system: Reject x32 for QEMU in getExternalExecutor().
This commit is contained in:
parent
745d3ed0ac
commit
749e67dee8
@ -116,7 +116,10 @@ pub fn getExternalExecutor(
|
||||
},
|
||||
.sparc64 => Executor{ .qemu = "qemu-sparc64" },
|
||||
.x86 => Executor{ .qemu = "qemu-i386" },
|
||||
.x86_64 => Executor{ .qemu = "qemu-x86_64" },
|
||||
.x86_64 => switch (candidate.abi) {
|
||||
.gnux32, .muslx32 => return bad_result,
|
||||
else => Executor{ .qemu = "qemu-x86_64" },
|
||||
},
|
||||
.xtensa => Executor{ .qemu = "qemu-xtensa" },
|
||||
else => return bad_result,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user