mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
std.Target: Fix C type alignment calculation for dxil.
This commit is contained in:
parent
db8f00e277
commit
e67388c2e5
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user