std.Target: fix default calling convention for m68k

Apparently everyone actually just uses the GNU ABI.
This commit is contained in:
Alex Rønne Petersen
2026-05-23 08:52:27 +02:00
parent b9a00fe6aa
commit b87caa4546
+1 -4
View File
@@ -3774,10 +3774,7 @@ pub fn cCallingConvention(target: *const Target) ?std.builtin.CallingConvention
.lanai => .{ .lanai_sysv = .{} },
.loongarch64 => .{ .loongarch64_lp64 = .{} },
.loongarch32 => .{ .loongarch32_ilp32 = .{} },
.m68k => if (target.abi.isGnu() or target.abi.isMusl())
.{ .m68k_gnu = .{} }
else
.{ .m68k_sysv = .{} },
.m68k => .{ .m68k_gnu = .{} },
.microblaze, .microblazeel => .{ .microblaze_std = .{} },
.msp430 => .{ .msp430_eabi = .{} },
.or1k => .{ .or1k_sysv = .{} },