vecmath: Update to zig 0.16.0, harden tests and add test build step

This commit is contained in:
2026-05-12 23:33:33 +02:00
parent 0cce9d9bce
commit 380145a986
27 changed files with 121 additions and 13 deletions

View File

@@ -147,7 +147,11 @@ pub const Vector4 = extern struct {
};
}
pub fn format(self: Vector4, w: *std.io.Writer) !void {
pub fn format(self: Vector4, w: *std.Io.Writer) !void {
try w.print("[{d}, {d}, {d}, {d}]", .{ self.x, self.y, self.z, self.w });
}
test "refAllDecls" {
std.testing.refAllDecls(@This());
}
};