From 534105d83aded6904f0f9a535d1e28c3a63570d8 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 dce4d36097edecda836b546031be1ba00d63212f..b76a37115191a466ab1834c7a5d35e00ec74972f 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -3482,7 +3482,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, @@ -3514,7 +3514,6 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) ?u16 { .opengl => null, - .ps3, .managarm, => @panic("specify the C integer and float type sizes for this OS"), }; -- 2.54.0