From 666901b6510f0b57481e3b6550ae69d12edad8f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 17 Oct 2026 02:58:48 +0200 Subject: [PATCH] std.Target: fill out cTypeBitSize() for ps3 contributes to https://codeberg.org/ziglang/zig/issues/31341 --- lib/std/Target.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index d0bce98a50f9bbc6988cc17a21c8d10cbef14388..b87e15e214cf9b3b0fb1438ff3ff9df961690957 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -3495,7 +3495,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 { .longdouble => 128, }, - .psx => switch (c_type) { + .psx, .ps3 => switch (c_type) { .char => 8, .short, .ushort => 16, .int, .uint, .long, .ulong, .float => 32, @@ -3527,7 +3527,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 { .opengl => null, - .ps3, .contiki, .managarm, => @panic("specify the C integer and float type sizes for this OS"), -- 2.54.0