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 {
10001000/// This data structure is used by the Zig language code generation and
10011001/// therefore must be kept in sync with the compiler implementation.
10021002pub const VaListHexagon = extern struct {
1003 __gpr: c_long,
1004 __fpr: c_long,
1005 __overflow_arg_area: *anyopaque,
1006 __reg_save_area: *anyopaque,
1003 __current_saved_reg_area_pointer: *anyopaque,
1004 __saved_reg_area_end_pointer: *anyopaque,
1005 __overflow_area_pointer: *anyopaque,
10071006};
10081007
10091008/// This data structure is used by the Zig language code generation and
......@@ -1019,9 +1018,10 @@ pub const VaListPowerPc = extern struct {
10191018/// This data structure is used by the Zig language code generation and
10201019/// therefore must be kept in sync with the compiler implementation.
10211020pub const VaListS390x = extern struct {
1022 __current_saved_reg_area_pointer: *anyopaque,
1023 __saved_reg_area_end_pointer: *anyopaque,
1024 __overflow_area_pointer: *anyopaque,
1021 __gpr: c_long,
1022 __fpr: c_long,
1023 __overflow_arg_area: *anyopaque,
1024 __reg_save_area: *anyopaque,
10251025};
10261026
10271027/// This data structure is used by the Zig language code generation and