std.Target: Fix toCoffMachine() value for thumb.

This commit is contained in:
Alex Rønne Petersen 2024-11-05 20:44:37 +01:00
parent 9904a3ac9d
commit 15c920ff2a
No known key found for this signature in database

View File

@ -1076,7 +1076,7 @@ pub fn toElfMachine(target: Target) std.elf.EM {
pub fn toCoffMachine(target: Target) std.coff.MachineType {
return switch (target.cpu.arch) {
.arm => .ARM,
.thumb => .THUMB,
.thumb => .ARMNT,
.aarch64 => .ARM64,
.loongarch32 => .LOONGARCH32,
.loongarch64 => .LOONGARCH64,