Skip to content

Commit bb1e425

Browse files
committed
Add Fuchsia to actually_monotonic
Fuchsia provides a fully monotonic clock.
1 parent 6187684 commit bb1e425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/sys/unix/time.rs

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ mod inner {
311311
pub fn actually_monotonic() -> bool {
312312
(cfg!(target_os = "linux") && cfg!(target_arch = "x86_64")) ||
313313
(cfg!(target_os = "linux") && cfg!(target_arch = "x86")) ||
314+
cfg!(target_os = "fuchsia") ||
314315
false // last clause, used so `||` is always trailing above
315316
}
316317

0 commit comments

Comments
 (0)