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.
This commit is contained in:
Alex Rønne Petersen 2024-08-09 21:13:10 +02:00
parent b24fc35eeb
commit 65affb1c22
No known key found for this signature in database

View File

@ -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,