authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-15 14:34:09+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-15 14:36:39+02:00
log47e208e554776aa4f5f3fe74d6f8d995efa3aaad
treea00fa46cc08cbe22094e0e0a7ffa18af1ff4704f
parenta85cb728775375825afe4ebd62c60ae0b361d1e9
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.lang: fix accidentally swapped VaList layouts for hexagon and s390x

contributes to https://codeberg.org/ziglang/zig/issues/35523

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

lib/std/lang.zig+7-7
...@@ -1000,10 +1000,9 @@ pub const VaListArm = extern struct {...@@ -1000,10 +1000,9 @@ pub const VaListArm = extern struct {
1000/// This data structure is used by the Zig language code generation and1000/// This data structure is used by the Zig language code generation and
1001/// therefore must be kept in sync with the compiler implementation.1001/// therefore must be kept in sync with the compiler implementation.
1002pub const VaListHexagon = extern struct {1002pub const VaListHexagon = extern struct {
1003 __gpr: c_long,1003 __current_saved_reg_area_pointer: *anyopaque,
1004 __fpr: c_long,1004 __saved_reg_area_end_pointer: *anyopaque,
1005 __overflow_arg_area: *anyopaque,1005 __overflow_area_pointer: *anyopaque,
1006 __reg_save_area: *anyopaque,
1007};1006};
10081007
1009/// This data structure is used by the Zig language code generation and1008/// This data structure is used by the Zig language code generation and
...@@ -1019,9 +1018,10 @@ pub const VaListPowerPc = extern struct {...@@ -1019,9 +1018,10 @@ pub const VaListPowerPc = extern struct {
1019/// This data structure is used by the Zig language code generation and1018/// This data structure is used by the Zig language code generation and
1020/// therefore must be kept in sync with the compiler implementation.1019/// therefore must be kept in sync with the compiler implementation.
1021pub const VaListS390x = extern struct {1020pub const VaListS390x = extern struct {
1022 __current_saved_reg_area_pointer: *anyopaque,1021 __gpr: c_long,
1023 __saved_reg_area_end_pointer: *anyopaque,1022 __fpr: c_long,
1024 __overflow_area_pointer: *anyopaque,1023 __overflow_arg_area: *anyopaque,
1024 __reg_save_area: *anyopaque,
1025};1025};
10261026
1027/// This data structure is used by the Zig language code generation and1027/// This data structure is used by the Zig language code generation and