authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-06 05:35:53+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-08 21:32:22+02:00
logdd1de18f9629904b5d97d5791a47244ac63385da
treed2a83828a589b139ddee4652b62da946e57e79cb
parentd381645c73d398f95e015d60029cb5dfb6ee1979
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std: Disable `hash.xxhash.test.xxhash3` on MIPS N32.

https://github.com/ziglang/zig/issues/23807

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

lib/std/hash/xxhash.zig+3
......@@ -781,6 +781,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)
781781
782782test "xxhash3" {
783783 if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
784 if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
784785
785786 const H = XxHash3;
786787 // Non-Seeded Tests
......@@ -814,6 +815,7 @@ test "xxhash3" {
814815
815816test "xxhash3 smhasher" {
816817 if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
818 if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
817819
818820 const Test = struct {
819821 fn do() !void {
......@@ -827,6 +829,7 @@ test "xxhash3 smhasher" {
827829
828830test "xxhash3 iterative api" {
829831 if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
832 if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
830833
831834 const Test = struct {
832835 fn do() !void {