zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 0cafb9b59137f3cfd9bfb883b4d9371ee153a681 (tree)
parent 388c0918d65387d6be3efdf0c0c0d38452a71a07
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sat, 23 May 2026 08:51:32 +0200

std.Target: fix default calling convention for x32

Diffstat:
Mlib/std/Target.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/Target.zig b/lib/std/Target.zig @@ -3723,7 +3723,7 @@ pub fn cCallingConvention(target: *const Target) ?std.builtin.CallingConvention .x86_64 => switch (target.os.tag) { .windows, .uefi => .{ .x86_64_win = .{} }, else => switch (target.abi) { - .gnuabin32, .muslabin32 => .{ .x86_64_x32 = .{} }, + .gnux32, .muslx32 => .{ .x86_64_x32 = .{} }, else => .{ .x86_64_sysv = .{} }, }, },