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 05:22:39+02:00
logfe0a40e9af3e3fc38c962e7fce2b2e85bfa53ec5
treea106503de955bb06b053642e172e1c7f1b4ee200
parent3603f90fa7a3740057d00f51e46e20972d297ba0
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
...@@ -3623,8 +3623,6 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {...@@ -3623,8 +3623,6 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {
3623 .sheb,3623 .sheb,
3624 .x86,3624 .x86,
3625 .xcore,3625 .xcore,
3626 .xtensa,
3627 .xtensaeb,
3628 => 4,3626 => 4,
36293627
3630 .amdgcn,3628 .amdgcn,
...@@ -3645,6 +3643,8 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {...@@ -3645,6 +3643,8 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 {
3645 .sparc,3643 .sparc,
3646 .thumb,3644 .thumb,
3647 .thumbeb,3645 .thumbeb,
3646 .xtensa,
3647 .xtensaeb,
3648 => 8,3648 => 8,
36493649
3650 .aarch64,3650 .aarch64,