mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 00:26:57 +00:00
std.builtin.CallingConvention: don't provide bogus winapi
value
This commit is contained in:
parent
2d9a167cd2
commit
6657982e56
@ -176,8 +176,8 @@ pub const CallingConvention = union(enum(u8)) {
|
||||
pub const winapi: CallingConvention = switch (builtin.target.cpu.arch) {
|
||||
.x86_64 => .{ .x86_64_win = .{} },
|
||||
.x86 => .{ .x86_stdcall = .{} },
|
||||
.aarch64, .aarch64_be => .{ .aarch64_aapcs_win = .{} },
|
||||
.arm, .armeb, .thumb, .thumbeb => .{ .arm_aapcs_vfp = .{} },
|
||||
.aarch64 => .{ .aarch64_aapcs_win = .{} },
|
||||
.thumb => .{ .arm_aapcs_vfp = .{} },
|
||||
else => unreachable,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user