authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 02:02:50+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 02:02:50+02:00
logd415efd68f8e87e6ac5edd9b67c518de106fed55
tree0792a362c9f9fedb0040d919694e642af690f93c
parentecf2069e305c55d0b9482a795ddaa710999fedc2
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

This reverts commit e67388c2e538789aa3e46f625f6e08696093dcdb.

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

lib/std/Target.zig+2-2
...@@ -2381,6 +2381,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {...@@ -2381,6 +2381,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
2381 .csky,2381 .csky,
2382 .x86,2382 .x86,
2383 .xcore,2383 .xcore,
2384 .dxil,
2384 .loongarch32,2385 .loongarch32,
2385 .kalimba,2386 .kalimba,
2386 .spu_2,2387 .spu_2,
...@@ -2390,7 +2391,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {...@@ -2390,7 +2391,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
2390 .amdgcn,2391 .amdgcn,
2391 .bpfel,2392 .bpfel,
2392 .bpfeb,2393 .bpfeb,
2393 .dxil,
2394 .hexagon,2394 .hexagon,
2395 .m68k,2395 .m68k,
2396 .mips,2396 .mips,
...@@ -2485,6 +2485,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {...@@ -2485,6 +2485,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
24852485
2486 .csky,2486 .csky,
2487 .xcore,2487 .xcore,
2488 .dxil,
2488 .loongarch32,2489 .loongarch32,
2489 .kalimba,2490 .kalimba,
2490 .spu_2,2491 .spu_2,
...@@ -2500,7 +2501,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {...@@ -2500,7 +2501,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
2500 .amdgcn,2501 .amdgcn,
2501 .bpfel,2502 .bpfel,
2502 .bpfeb,2503 .bpfeb,
2503 .dxil,
2504 .hexagon,2504 .hexagon,
2505 .x86,2505 .x86,
2506 .m68k,2506 .m68k,