From dd1de18f9629904b5d97d5791a47244ac63385da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 6 May 2025 05:35:53 +0200 Subject: [PATCH] std: Disable `hash.xxhash.test.xxhash3` on MIPS N32. https://github.com/ziglang/zig/issues/23807 --- lib/std/hash/xxhash.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/std/hash/xxhash.zig b/lib/std/hash/xxhash.zig index 28b5ceaa3d..f12f6341a4 100644 --- a/lib/std/hash/xxhash.zig +++ b/lib/std/hash/xxhash.zig @@ -781,6 +781,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64) test "xxhash3" { if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807 const H = XxHash3; // Non-Seeded Tests @@ -814,6 +815,7 @@ test "xxhash3" { test "xxhash3 smhasher" { if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807 const Test = struct { fn do() !void { @@ -827,6 +829,7 @@ test "xxhash3 smhasher" { test "xxhash3 iterative api" { if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807 const Test = struct { fn do() !void {