authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-16 22:06:26+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-17 04:29:44+02:00
log7c58d118e775a44eaf7db2ca4350116b1c38ff6e
tree2d059b903e82145ac64827d998cf98b796432c5c
parentbeac4e6ab13d0f5224d38f8b565318d5a16f9a54
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: fix cTypeAlignment(.{longlong,double,longdouble}) on xtensa


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

lib/std/Target.zig+2-2
...@@ -3609,8 +3609,6 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {...@@ -3609,8 +3609,6 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {
3609 .sheb,3609 .sheb,
3610 .x86,3610 .x86,
3611 .xcore,3611 .xcore,
3612 .xtensa,
3613 .xtensaeb,
3614 => 4,3612 => 4,
36153613
3616 .amdgcn,3614 .amdgcn,
...@@ -3631,6 +3629,8 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {...@@ -3631,6 +3629,8 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {
3631 .sparc,3629 .sparc,
3632 .thumb,3630 .thumb,
3633 .thumbeb,3631 .thumbeb,
3632 .xtensa,
3633 .xtensaeb,
3634 => 8,3634 => 8,
36353635
3636 .aarch64,3636 .aarch64,