mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Target: Pick arm_aapcs16_vfp for arm-watchos-* in cCallingConvention().
This is a legacy target, but we should still get it right.
This commit is contained in:
parent
f7da31b1f4
commit
20cdfe9fb6
1 changed files with 1 additions and 0 deletions
|
|
@ -3295,6 +3295,7 @@ pub fn cCallingConvention(target: Target) ?std.builtin.CallingConvention {
|
|||
},
|
||||
.arm, .armeb, .thumb, .thumbeb => switch (target.os.tag) {
|
||||
.netbsd => .{ .arm_apcs = .{} },
|
||||
.watchos => .{ .arm_aapcs16_vfp = .{} },
|
||||
else => switch (target.abi.floatAbi()) {
|
||||
.soft => .{ .arm_aapcs = .{} },
|
||||
.hard => .{ .arm_aapcs_vfp = .{} },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue