authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-21 08:49:54+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-21 12:15:15+01:00
log1cd913a0ec816f44d157980ade00a6560832a348
tree422064282d3f97c0bfafdab9c406da5e75c86240
parent7e54ee06d84a0f810b08c544e7532d022da841a0
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.zig.system: disable vector support on s390x for now

https://github.com/llvm/llvm-project/issues/168992

1 files changed, 5 insertions(+), 0 deletions(-)

lib/std/zig/system.zig+5
......@@ -473,6 +473,11 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target {
473473 if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) {
474474 result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float));
475475 }
476
477 // https://github.com/llvm/llvm-project/issues/168992
478 if (result.cpu.arch == .s390x) {
479 result.cpu.features.removeFeature(@intFromEnum(Target.s390x.Feature.vector));
480 }
476481 }
477482
478483 // It's possible that we detect the native ABI, but fail to detect the OS version or were told