authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-13 04:48:51+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-30 06:36:41+02:00
log59ee4e8e5484a2f976485fca5b085a7ba0358074
tree2e992f4f4b5301b566809a14044ff84e65e4ca20
parentaf78c5567682535ff763dddc785f851dc41bbd04
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

See also dd1de18f9629904b5d97d5791a47244ac63385da. https://github.com/ziglang/zig/issues/23807

1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/hash/xxhash.zig+3-3
...@@ -780,7 +780,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)...@@ -780,7 +780,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)
780}780}
781781
782test "xxhash3" {782test "xxhash3" {
783 if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807783 if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
784784
785 const H = XxHash3;785 const H = XxHash3;
786 // Non-Seeded Tests786 // Non-Seeded Tests
...@@ -813,7 +813,7 @@ test "xxhash3" {...@@ -813,7 +813,7 @@ test "xxhash3" {
813}813}
814814
815test "xxhash3 smhasher" {815test "xxhash3 smhasher" {
816 if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807816 if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
817817
818 const Test = struct {818 const Test = struct {
819 fn do() !void {819 fn do() !void {
...@@ -826,7 +826,7 @@ test "xxhash3 smhasher" {...@@ -826,7 +826,7 @@ test "xxhash3 smhasher" {
826}826}
827827
828test "xxhash3 iterative api" {828test "xxhash3 iterative api" {
829 if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807829 if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
830830
831 const Test = struct {831 const Test = struct {
832 fn do() !void {832 fn do() !void {