zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e67388c2e538789aa3e46f625f6e08696093dcdb (tree)
parent db8f00e277016e12495bcc5217090052eea69eb3
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Tue,  6 Aug 2024 17:12:33 +0200

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

Diffstat:
Mlib/std/Target.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/std/Target.zig b/lib/std/Target.zig @@ -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,