From 683517681bc8646c98ac3a499352fe468dd6105d 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 b87e15e214cf9b3b0fb1438ff3ff9df961690957..71de5110dfaef6cfb99944d84c3f6364d582c8e9 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -3150,6 +3150,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