authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2024-10-15 02:28:31+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2024-10-19 19:15:24+01:00
log6657982e5603220669b469e244f5cece91d65727
tree7d96533278dcd0370565836600a4c58872ce5c46
parent2d9a167cd2235ce221a9b3aec23a0e537c151380
signaturelock-open Commit is signed but in an unrecognized format.

std.builtin.CallingConvention: don't provide bogus `winapi` value


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/builtin.zig+2-2
......@@ -176,8 +176,8 @@ pub const CallingConvention = union(enum(u8)) {
176176 pub const winapi: CallingConvention = switch (builtin.target.cpu.arch) {
177177 .x86_64 => .{ .x86_64_win = .{} },
178178 .x86 => .{ .x86_stdcall = .{} },
179 .aarch64, .aarch64_be => .{ .aarch64_aapcs_win = .{} },
180 .arm, .armeb, .thumb, .thumbeb => .{ .arm_aapcs_vfp = .{} },
179 .aarch64 => .{ .aarch64_aapcs_win = .{} },
180 .thumb => .{ .arm_aapcs_vfp = .{} },
181181 else => unreachable,
182182 };
183183