Commit d415efd68f

Alex Rønne Petersen <alex@alexrp.com>
2024-08-08 02:02:50
Revert "std.Target: Fix C type alignment calculation for dxil."
This reverts commit e67388c2e538789aa3e46f625f6e08696093dcdb.
1 parent ecf2069
Changed files (1)
lib
lib/std/Target.zig
@@ -2381,6 +2381,7 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
             .csky,
             .x86,
             .xcore,
+            .dxil,
             .loongarch32,
             .kalimba,
             .spu_2,
@@ -2390,7 +2391,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
             .amdgcn,
             .bpfel,
             .bpfeb,
-            .dxil,
             .hexagon,
             .m68k,
             .mips,
@@ -2485,6 +2485,7 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
 
             .csky,
             .xcore,
+            .dxil,
             .loongarch32,
             .kalimba,
             .spu_2,
@@ -2500,7 +2501,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
             .amdgcn,
             .bpfel,
             .bpfeb,
-            .dxil,
             .hexagon,
             .x86,
             .m68k,