std.hash.xxhash: disable xxhash3 test on all mips64 targets

See also dd1de18f9629904b5d97d5791a47244ac63385da.

https://github.com/ziglang/zig/issues/23807
This commit is contained in:
Alex Rønne Petersen 2025-08-13 04:48:51 +02:00
parent af78c55676
commit 59ee4e8e54
No known key found for this signature in database

View File

@ -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 {