updating to Zig 0.16
Some checks failed
Build / build (push) Failing after 32s
Test / build (push) Successful in 7m50s

This commit is contained in:
2026-04-16 01:50:42 +02:00
parent 9f586ae9c0
commit 4bd688cf07
9 changed files with 330 additions and 378 deletions

View File

@@ -101,7 +101,7 @@ test "Bitwise vectors" {
inline for (types) |T| {
const op1: case.Vec(L, T) = .{ .val = case.random(@Vector(L, T)) };
var op2: case.Vec(L, T) = .{ .val = case.random(@Vector(L, T)) };
for (0..L) |i| op2.val[i] = @mod(op2.val[i], @bitSizeOf(T));
inline for (0..L) |i| op2.val[i] = @mod(op2.val[i], @bitSizeOf(T));
const expected = switch (op.key) {
.BitwiseAnd => op1.val & op2.val,
.BitwiseOr => op1.val | op2.val,