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

This reverts commit 1cd913a0ec.

The bug was fixed in LLVM 22.
This commit is contained in:
Alex Rønne Petersen
2026-01-30 01:08:25 +01:00
parent 061c13f13b
commit 7829397f89
-5
View File
@@ -460,11 +460,6 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target {
if (result.cpu.arch.isArm() and result.abi.float() == .soft) { if (result.cpu.arch.isArm() and result.abi.float() == .soft) {
result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2)); 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 // It's possible that we detect the native ABI, but fail to detect the OS version or were told