authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-09 21:13:10+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-15 10:55:46+02:00
log65affb1c225a034058fb2cbe32c289019b463ebf
tree2679ebc38cdd55c085996858765dd03b4ec131ef
parentb24fc35eeb417e660f4fed017d45c534bd794469
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Target.zig+1-1
......@@ -1257,7 +1257,6 @@ pub const Cpu = struct {
12571257 .aarch64 => .ARM64,
12581258 .loongarch32 => .LOONGARCH32,
12591259 .loongarch64 => .LOONGARCH64,
1260 .powerpcle => .POWERPC,
12611260 .riscv32 => .RISCV32,
12621261 .riscv64 => .RISCV64,
12631262 .x86 => .I386,
......@@ -1285,6 +1284,7 @@ pub const Cpu = struct {
12851284 .nvptx,
12861285 .nvptx64,
12871286 .powerpc,
1287 .powerpcle,
12881288 .powerpc64,
12891289 .powerpc64le,
12901290 .s390x,