| author | |
| committer | |
| log | de473d442371c943bff077428b3786885cadec47 |
| tree | af6e98afc0e17792cbb37959f143ee16cb6fec15 |
| parent | 682815f6e9df8fa7ec25f0b327b4eab7c3d52f2a |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
std/os/time.zig+1-1| ... | ... | @@ -13,7 +13,7 @@ pub const epoch = @import("epoch.zig"); |
| 13 | 13 | /// Sleep for the specified duration |
| 14 | 14 | pub fn sleep(nanoseconds: u64) void { |
| 15 | 15 | switch (builtin.os) { |
| 16 | Os.linux, Os.macosx, Os.ios => { | |
| 16 | Os.linux, Os.macosx, Os.ios, Os.freebsd => { | |
| 17 | 17 | const s = nanoseconds / ns_per_s; |
| 18 | 18 | const ns = nanoseconds % ns_per_s; |
| 19 | 19 | posixSleep(@intCast(u63, s), @intCast(u63, ns)); |