chore(build!): update to zig 0.16.0-dev.2510+bcb5218a2

This commit is contained in:
xeon
2026-02-07 11:39:07 +03:00
parent 82938dcfdb
commit d6fbbafcfd
8 changed files with 65 additions and 37 deletions

View File

@@ -15,10 +15,7 @@ pub const PingTimer = struct {
last_client_ts: u64 = 0,
pub fn serverTime(pt: PingTimer) u64 {
return if (Io.Clock.real.now(pt.io)) |ts|
@intCast(ts.toMilliseconds())
else |_|
pt.last_client_ts;
return @intCast(Io.Clock.real.now(pt.io).toMilliseconds());
}
};