commit 65affb1c225a034058fb2cbe32c289019b463ebf (tree)
parent b24fc35eeb417e660f4fed017d45c534bd794469
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 9 Aug 2024 21:13:10 +0200
std.Target: Don't match PowerPC in Arch.toCoffMachine().
It's entirely unclear whether this should map to POWERPC or POWERPCFP, and as I
can find no evidence of people producing PE files for PowerPC since Windows NT,
let's just not make a likely-wrong guess. We can revisit this if the need ever
actually arises.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/Target.zig b/lib/std/Target.zig
@@ -1257,7 +1257,6 @@ pub const Cpu = struct {
.aarch64 => .ARM64,
.loongarch32 => .LOONGARCH32,
.loongarch64 => .LOONGARCH64,
- .powerpcle => .POWERPC,
.riscv32 => .RISCV32,
.riscv64 => .RISCV64,
.x86 => .I386,
@@ -1285,6 +1284,7 @@ pub const Cpu = struct {
.nvptx,
.nvptx64,
.powerpc,
+ .powerpcle,
.powerpc64,
.powerpc64le,
.s390x,