mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.Target: handle some more cases in toCoffMachine()
This commit is contained in:
parent
362a44a122
commit
0e15b2ac10
@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user