commit 1c9d9b70ec10dce3d85d7ae44297b33d42afa848 (tree)
parent 9f064dff477a100b95438c7842253dfb20224553
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Mon, 30 Jun 2025 06:47:29 +0200
std.bit_set: Disable IntegerBitSet decltest on RISC-V with vector support
https://github.com/ziglang/zig/issues/24300
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/std/bit_set.zig b/lib/std/bit_set.zig
@@ -1699,6 +1699,7 @@ fn testStaticBitSet(comptime Set: type) !void {
test IntegerBitSet {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
+ if (comptime builtin.cpu.has(.riscv, .v) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/24300
try testStaticBitSet(IntegerBitSet(0));
try testStaticBitSet(IntegerBitSet(1));