vecmath: Update to zig 0.16.0, harden tests and add test build step
This commit is contained in:
@@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user