commit 59ee4e8e5484a2f976485fca5b085a7ba0358074 (tree)
parent af78c5567682535ff763dddc785f851dc41bbd04
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Wed, 13 Aug 2025 04:48:51 +0200
std.hash.xxhash: disable xxhash3 test on all mips64 targets
See also dd1de18f9629904b5d97d5791a47244ac63385da.
https://github.com/ziglang/zig/issues/23807
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/std/hash/xxhash.zig b/lib/std/hash/xxhash.zig
@@ -780,7 +780,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)
}
test "xxhash3" {
- if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
+ if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
const H = XxHash3;
// Non-Seeded Tests
@@ -813,7 +813,7 @@ test "xxhash3" {
}
test "xxhash3 smhasher" {
- if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
+ if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
const Test = struct {
fn do() !void {
@@ -826,7 +826,7 @@ test "xxhash3 smhasher" {
}
test "xxhash3 iterative api" {
- if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
+ if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
const Test = struct {
fn do() !void {