commit d415efd68f8e87e6ac5edd9b67c518de106fed55 (tree)
parent ecf2069e305c55d0b9482a795ddaa710999fedc2
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Thu, 8 Aug 2024 02:02:50 +0200
Revert "std.Target: Fix C type alignment calculation for dxil."
This reverts commit e67388c2e538789aa3e46f625f6e08696093dcdb.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/Target.zig b/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,