From 0e15b2ac108e82c005eb792b7f485f69165c1cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 19 Oct 2025 22:33:21 +0200 Subject: [PATCH] std.Target: handle some more cases in toCoffMachine() --- lib/std/Target.zig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 7ad66e7590..dd99394053 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -1106,36 +1106,36 @@ pub fn toCoffMachine(target: *const Target) std.coff.IMAGE.FILE.MACHINE { .aarch64 => .ARM64, .loongarch32 => .LOONGARCH32, .loongarch64 => .LOONGARCH64, + .mips => .R3000BE, + .mipsel => .R3000, + .mips64el => .R4000, + .powerpcle => .POWERPC, .riscv32 => .RISCV32, .riscv64 => .RISCV64, .x86 => .I386, .x86_64 => .AMD64, + .aarch64_be, .amdgcn, .arc, .armeb, - .thumbeb, - .aarch64_be, .avr, - .bpfel, .bpfeb, + .bpfel, .csky, .hexagon, .kalimba, .lanai, .m68k, - .mips, - .mipsel, .mips64, - .mips64el, .msp430, - .or1k, .nvptx, .nvptx64, + .or1k, .powerpc, - .powerpcle, .powerpc64, .powerpc64le, + .propeller, .riscv32be, .riscv64be, .s390x, @@ -1143,12 +1143,12 @@ pub fn toCoffMachine(target: *const Target) std.coff.IMAGE.FILE.MACHINE { .sparc64, .spirv32, .spirv64, + .thumbeb, .ve, .wasm32, .wasm64, .xcore, .xtensa, - .propeller, => .UNKNOWN, }; }