fix: macs build

This commit is contained in:
CJ van den Berg 2026-02-26 13:35:42 +01:00
parent f34fc3cb93
commit 07fcb900f8
2 changed files with 6 additions and 2 deletions

View file

@ -166,7 +166,7 @@ fn drainEvents(watcher: *Watcher) !void {
if (builtin.os.tag == .linux) {
try watcher.handle_read_ready();
} else {
std.time.sleep(300 * std.time.ns_per_ms);
std.Thread.sleep(300 * std.time.ns_per_ms);
}
}