authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-17 05:20:14+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-17 05:26:43+02:00
log7f5c7ebbc679aa46da86a50948561eef6c0e69b1
tree1f215ff602d406cd288eac3caf0b4c483da23681
parent190d52390ea72da81ea01048a6b87cf6c2fe082e
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: fix default ABI for powerpc64-ps3 to be ilp32

contributes to https://codeberg.org/ziglang/zig/issues/31341

2 files changed, 2 insertions(+), 2 deletions(-)

lib/std/Target.zig+1-1
......@@ -948,6 +948,7 @@ pub const Abi = enum {
948948 .wiiu => .eabihf,
949949 .gba => .eabi,
950950 .psx => .eabi,
951 .ps3 => .ilp32,
951952 .psp => .eabihf,
952953 .vita => .eabihf,
953954 .wasi, .emscripten => .musl,
......@@ -969,7 +970,6 @@ pub const Abi = enum {
969970 .visionos,
970971 .watchos,
971972 .@"switch",
972 .ps3,
973973 .ps4,
974974 .ps5,
975975 .amdhsa,
test/llvm_targets.zig+1-1
......@@ -207,7 +207,7 @@ const targets = [_]std.Target.Query{
207207 .{ .cpu_arch = .powerpc64, .os_tag = .linux, .abi = .musl },
208208 .{ .cpu_arch = .powerpc64, .os_tag = .linux, .abi = .none },
209209 .{ .cpu_arch = .powerpc64, .os_tag = .openbsd, .abi = .none },
210 .{ .cpu_arch = .powerpc64, .os_tag = .ps3, .abi = .none },
210 .{ .cpu_arch = .powerpc64, .os_tag = .ps3, .abi = .ilp32 },
211211 .{ .cpu_arch = .powerpc64, .os_tag = .rtems, .abi = .none },
212212
213213 .{ .cpu_arch = .powerpc64le, .os_tag = .freebsd, .abi = .none },