authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-06 17:12:33+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-06 20:17:03+02:00
loge67388c2e538789aa3e46f625f6e08696093dcdb
treefd64e466bf24320bd614b494396dfb80e81fc77f
parentdb8f00e277016e12495bcc5217090052eea69eb3
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/Target.zig+2-2
......@@ -2343,7 +2343,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
23432343 .csky,
23442344 .x86,
23452345 .xcore,
2346 .dxil,
23472346 .loongarch32,
23482347 .spirv32,
23492348 .kalimba,
......@@ -2355,6 +2354,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
23552354 .amdgcn,
23562355 .bpfel,
23572356 .bpfeb,
2357 .dxil,
23582358 .hexagon,
23592359 .loongarch64,
23602360 .m68k,
......@@ -2448,7 +2448,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
24482448
24492449 .csky,
24502450 .xcore,
2451 .dxil,
24522451 .loongarch32,
24532452 .spirv32,
24542453 .kalimba,
......@@ -2466,6 +2465,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
24662465 .amdgcn,
24672466 .bpfel,
24682467 .bpfeb,
2468 .dxil,
24692469 .hexagon,
24702470 .x86,
24712471 .loongarch64,