zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 7829397f89dfe7966e3bb4032c4a3651f5e3e322 (tree)
parent 061c13f13b052bf40d30baae375a1abceeff63fa
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Fri, 30 Jan 2026 01:08:25 +0100

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

This reverts commit 1cd913a0ec816f44d157980ade00a6560832a348.

The bug was fixed in LLVM 22.

Diffstat:
Mlib/std/zig/system.zig | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/lib/std/zig/system.zig b/lib/std/zig/system.zig @@ -460,11 +460,6 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target { if (result.cpu.arch.isArm() and result.abi.float() == .soft) { result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2)); } - - // https://github.com/llvm/llvm-project/issues/168992 - if (result.cpu.arch == .s390x) { - result.cpu.features.removeFeature(@intFromEnum(Target.s390x.Feature.vector)); - } } // It's possible that we detect the native ABI, but fail to detect the OS version or were told