test: Disable 128-bit atomics behavior tests on aarch64_be.

See: https://github.com/ziglang/zig/issues/21892
This commit is contained in:
Alex Rønne Petersen 2024-11-03 07:58:34 +01:00
parent 2958a90515
commit 9d0bb7ada8
No known key found for this signature in database

View File

@ -5,7 +5,8 @@ const expectEqual = std.testing.expectEqual;
const supports_128_bit_atomics = switch (builtin.cpu.arch) {
// TODO: Ideally this could be sync'd with the logic in Sema.
.aarch64, .aarch64_be => true,
.aarch64 => true,
.aarch64_be => false, // Fails due to LLVM issues.
.x86_64 => std.Target.x86.featureSetHas(builtin.cpu.features, .cx16),
else => false,
};