std.Target: fix cCallingConvention() to pick mips64_n32 for muslabin32

This commit is contained in:
Alex Rønne Petersen 2025-10-19 22:41:37 +02:00
parent 0e15b2ac10
commit a7f085f0d7
No known key found for this signature in database

View File

@ -3467,7 +3467,7 @@ pub fn cCallingConvention(target: *const Target) ?std.builtin.CallingConvention
.hard => .{ .arm_aapcs_vfp = .{} },
},
.mips64, .mips64el => switch (target.abi) {
.gnuabin32 => .{ .mips64_n32 = .{} },
.gnuabin32, .muslabin32 => .{ .mips64_n32 = .{} },
else => .{ .mips64_n64 = .{} },
},
.mips, .mipsel => .{ .mips_o32 = .{} },