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

This commit is contained in:
Alex Rønne Petersen 2024-08-06 17:12:33 +02:00
parent db8f00e277
commit e67388c2e5
No known key found for this signature in database

View File

@ -2343,7 +2343,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
.csky,
.x86,
.xcore,
.dxil,
.loongarch32,
.spirv32,
.kalimba,
@ -2355,6 +2354,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
.amdgcn,
.bpfel,
.bpfeb,
.dxil,
.hexagon,
.loongarch64,
.m68k,
@ -2448,7 +2448,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
.csky,
.xcore,
.dxil,
.loongarch32,
.spirv32,
.kalimba,
@ -2466,6 +2465,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
.amdgcn,
.bpfel,
.bpfeb,
.dxil,
.hexagon,
.x86,
.loongarch64,