From 7336dd0c9918ce403a61cbf852b74217fac62091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 17 Oct 2026 03:03:25 +0200 Subject: [PATCH] std.Target: fix cCharSignedness() to be .signed on ps3 This is different from the usual convention on PowerPC. contributes to https://codeberg.org/ziglang/zig/issues/31341 --- lib/std/Target.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index b76a37115191a466ab1834c7a5d35e00ec74972f..9b269a87d83c66d4ae4662a1a5ffbe0050fbdd0d 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -3138,6 +3138,7 @@ pub fn stackGrowth(target: *const Target) StackGrowth { /// Returns `null` if no C ABI is defined for this target. pub fn cCharSignedness(target: *const Target) ?std.builtin.Signedness { switch (target.os.tag) { + .ps3 => return .signed, .opengl => return null, else => {}, } -- 2.54.0