From bd0a5082a71886ae60fcaa2e2841f6ba4013a15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 30 Jan 2026 01:08:25 +0100 Subject: [PATCH] Revert "std.zig.system: disable vector support on s390x for now" This reverts commit 1cd913a0ec816f44d157980ade00a6560832a348. The bug was fixed in LLVM 22. --- lib/std/zig/system.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/std/zig/system.zig b/lib/std/zig/system.zig index 68c076075a..fd69db5c94 100644 --- a/lib/std/zig/system.zig +++ b/lib/std/zig/system.zig @@ -459,11 +459,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