From 7c58d118e775a44eaf7db2ca4350116b1c38ff6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 16 Oct 2026 22:06:26 +0200 Subject: [PATCH] std.Target: fix cTypeAlignment(.{longlong,double,longdouble}) on xtensa --- lib/std/Target.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 5ca03f1381190fc8d70ea05470f0f1299f5b8c1a..bd33e78c4d088f5ea5415c51299d5cbb37be012a 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -3609,8 +3609,6 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 { .sheb, .x86, .xcore, - .xtensa, - .xtensaeb, => 4, .amdgcn, @@ -3631,6 +3629,8 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) ?u16 { .sparc, .thumb, .thumbeb, + .xtensa, + .xtensaeb, => 8, .aarch64, -- 2.54.0