mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.Target: fix cTypePreferredAlignment() for arc
This commit is contained in:
parent
862e674758
commit
45b80f2e41
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue