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 62eaecd commit 26b5012Copy full SHA for 26b5012
tests/run-pass/time.rs
@@ -20,7 +20,7 @@ fn main() {
20
let now2 = Instant::now();
21
assert!(now2 > now1);
22
23
- #[cfg(target_os = "linux")]
+ #[cfg(target_os = "linux")] // TODO: macOS does not support Instant subtraction
24
{
25
let diff = now2.duration_since(now1);
26
assert!(diff.as_micros() > 0);
0 commit comments