zig

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

commit ef502daafe2b4e216c68fe07ff05aa91d539b831 (tree)
parent 23b5a6c71eb3229e0456a6900f3672c77b91d1f6
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Tue,  6 Aug 2024 17:27:07 +0200

std.Target: Handle mesa3d in c_type_bit_size().

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

diff --git a/lib/std/Target.zig b/lib/std/Target.zig @@ -2250,7 +2250,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { .longdouble => return 64, }, - .amdhsa, .amdpal => switch (c_type) { + .amdhsa, .amdpal, .mesa3d => switch (c_type) { .char => return 8, .short, .ushort => return 16, .int, .uint, .float => return 32, @@ -2280,7 +2280,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { .rtems, .aix, .elfiamcu, - .mesa3d, .contiki, .hermit, .hurd,