From 65affb1c225a034058fb2cbe32c289019b463ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 9 Aug 2024 21:13:10 +0200 Subject: [PATCH] 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. --- lib/std/Target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 4b680ee130..79207fcf70 100644 --- 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,