Commit a7f085f0d7

Alex Rønne Petersen <alex@alexrp.com>
2025-10-19 22:41:37
std.Target: fix cCallingConvention() to pick mips64_n32 for muslabin32
1 parent 0e15b2a
Changed files (1)
lib
lib/std/Target.zig
@@ -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 = .{} },