We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ef98f commit 88f0c0dCopy full SHA for 88f0c0d
library/std/src/sys/unix/time.rs
@@ -151,7 +151,7 @@ mod inner {
151
extern "C" {
152
fn clock_gettime_nsec_np(clock_type: u32) -> u64;
153
}
154
- Instant { t: unsafe { clock_gettime_nsec_np(8) } }
+ Instant { t: unsafe { clock_gettime_nsec_np(4) } }
155
156
157
pub fn checked_sub_instant(&self, other: &Instant) -> Option<Duration> {
0 commit comments