Commit 65affb1c22

Alex Rønne Petersen <alex@alexrp.com>
2024-08-09 21:13:10
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 parent b24fc35
Changed files (1)
lib
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,