mirror of
https://github.com/ziglang/zig.git
synced 2025-02-08 13:40:30 +00:00
std.Target: Fix C type alignment calculation for loongarch64.
This commit is contained in:
parent
29321ca4a2
commit
98153c8d81
@ -2355,7 +2355,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
|
||||
.bpfeb,
|
||||
.dxil,
|
||||
.hexagon,
|
||||
.loongarch64,
|
||||
.m68k,
|
||||
.mips,
|
||||
.mipsel,
|
||||
@ -2371,6 +2370,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
|
||||
|
||||
.aarch64,
|
||||
.aarch64_be,
|
||||
.loongarch64,
|
||||
.mips64,
|
||||
.mips64el,
|
||||
.powerpc,
|
||||
@ -2467,7 +2467,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
|
||||
.dxil,
|
||||
.hexagon,
|
||||
.x86,
|
||||
.loongarch64,
|
||||
.m68k,
|
||||
.mips,
|
||||
.mipsel,
|
||||
@ -2483,6 +2482,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
|
||||
|
||||
.aarch64,
|
||||
.aarch64_be,
|
||||
.loongarch64,
|
||||
.mips64,
|
||||
.mips64el,
|
||||
.powerpc,
|
||||
|
Loading…
Reference in New Issue
Block a user