mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 12:27:41 +00:00
std.Target: Fix C type alignment calculation for sparc64.
This commit is contained in:
parent
98153c8d81
commit
e678862520
@ -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…
x
Reference in New Issue
Block a user