std.Target: Fix C type alignment calculation for sparc64.

This commit is contained in:
Alex Rønne Petersen 2024-08-06 15:48:47 +02:00
parent 98153c8d81
commit e678862520
No known key found for this signature in database

View File

@ -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,