std.Target: fix cTypePreferredAlignment() for arc

This commit is contained in:
Alex Rønne Petersen 2025-10-19 23:12:22 +02:00
parent 862e674758
commit 45b80f2e41
No known key found for this signature in database

View File

@ -3314,6 +3314,7 @@ pub fn cTypePreferredAlignment(target: *const Target, c_type: CType) u16 {
@as(u16, switch (target.cpu.arch) {
.msp430 => 2,
.arc,
.csky,
.xcore,
.or1k,
@ -3322,7 +3323,6 @@ pub fn cTypePreferredAlignment(target: *const Target, c_type: CType) u16 {
.propeller,
=> 4,
.arc,
.arm,
.armeb,
.thumb,