aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-31 03:28:50 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-09-06 20:03:12 +0200
commitf35015575ef7ef5b493cf217f5e9c7152d6b6658 (patch)
tree71d78aca61e666fad0c4f3825eef7996efe46abf /lib/std/Build/Step/CheckObject.zig
parent804319799586961052a9e4f283ad94d5018ce5fa (diff)
downloadzig-f35015575ef7ef5b493cf217f5e9c7152d6b6658.tar.gz
zig-f35015575ef7ef5b493cf217f5e9c7152d6b6658.zip
std.time: Use clock_nanosleep() to implement sleep() on Linux.
This fixes the function for riscv32 where the old nanosleep() is not available. clock_nanosleep() has been available since Linux 2.6 and glibc 2.1 anyway.
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
0 files changed, 0 insertions, 0 deletions