mirror of
https://github.com/ziglang/zig.git
synced 2026-02-06 06:27:05 +00:00
std.Target: fix cTypePreferredAlignment() for arc
This commit is contained in:
parent
862e674758
commit
45b80f2e41
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user