mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
compiler: fix LLVM ABI selection for loongarch32-linux-musl*
This commit is contained in:
+2
-2
@@ -684,8 +684,8 @@ pub fn llvmMachineAbi(target: *const std.Target) ?[:0]const u8 {
|
||||
else => "lp64d",
|
||||
},
|
||||
.loongarch32 => switch (target.abi) {
|
||||
.gnusf => "ilp32s",
|
||||
.gnuf32 => "ilp32f",
|
||||
.gnusf, .muslsf => "ilp32s",
|
||||
.gnuf32, .muslf32 => "ilp32f",
|
||||
else => "ilp32d",
|
||||
},
|
||||
.mips, .mipsel => "o32",
|
||||
|
||||
Reference in New Issue
Block a user