From 9d12f989a897bfde34f832ef170b4be1468b29bc Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 8 Oct 2026 09:10:06 +0200 Subject: [PATCH] crypto.kangarootwelve: skip test on large input with CBE It's too slow for CI. Note that we shouldn't make the input smaller, as testing with that size is what makes the test useful. Closes #37137 --- lib/std/crypto/kangarootwelve.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/std/crypto/kangarootwelve.zig b/lib/std/crypto/kangarootwelve.zig index 399623d542d76dbab038947af36205ada74870e9..befcdac6ef472cf68001a3089c2ae34ab8c4a421 100644 --- a/lib/std/crypto/kangarootwelve.zig +++ b/lib/std/crypto/kangarootwelve.zig @@ -1411,6 +1411,10 @@ test "KT256 sequential and parallel produce same output with customization" { } test "parallel hashing matches sequential hashing" { + // Hashing several 2 MiB+ messages is too slow with the C backend, especially under emulation. + // https://codeberg.org/ziglang/zig/issues/37137 + if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; + const allocator = std.testing.allocator; const io = std.testing.io; -- 2.54.0