mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 04:24:33 +01:00
std.Target: Fix C type alignment calculation for sparc64.
This commit is contained in:
parent
98153c8d81
commit
e678862520
1 changed files with 2 additions and 2 deletions
|
|
@ -2359,7 +2359,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
|
|||
.mips,
|
||||
.mipsel,
|
||||
.sparc,
|
||||
.sparc64,
|
||||
.lanai,
|
||||
.nvptx,
|
||||
.nvptx64,
|
||||
|
|
@ -2379,6 +2378,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
|
|||
.powerpc64le,
|
||||
.riscv32,
|
||||
.riscv64,
|
||||
.sparc64,
|
||||
.x86_64,
|
||||
.wasm32,
|
||||
.wasm64,
|
||||
|
|
@ -2471,7 +2471,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
|
|||
.mips,
|
||||
.mipsel,
|
||||
.sparc,
|
||||
.sparc64,
|
||||
.lanai,
|
||||
.nvptx,
|
||||
.nvptx64,
|
||||
|
|
@ -2491,6 +2490,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
|
|||
.powerpc64le,
|
||||
.riscv32,
|
||||
.riscv64,
|
||||
.sparc64,
|
||||
.x86_64,
|
||||
.wasm32,
|
||||
.wasm64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue