mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.zig.system: disable vector support on s390x for now
https://github.com/llvm/llvm-project/issues/168992
This commit is contained in:
parent
7e54ee06d8
commit
1cd913a0ec
@ -473,6 +473,11 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target {
|
|||||||
if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) {
|
if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) {
|
||||||
result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float));
|
result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user