From bb1e42599d0062b9a43e83b5486d61eb1fcf0771 Mon Sep 17 00:00:00 2001 From: Taylor Cramer Date: Thu, 5 Sep 2019 16:44:22 -0700 Subject: [PATCH] Add Fuchsia to actually_monotonic Fuchsia provides a fully monotonic clock. --- src/libstd/sys/unix/time.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstd/sys/unix/time.rs b/src/libstd/sys/unix/time.rs index 02f377d55c919..fd6796ad22c12 100644 --- a/src/libstd/sys/unix/time.rs +++ b/src/libstd/sys/unix/time.rs @@ -311,6 +311,7 @@ mod inner { pub fn actually_monotonic() -> bool { (cfg!(target_os = "linux") && cfg!(target_arch = "x86_64")) || (cfg!(target_os = "linux") && cfg!(target_arch = "x86")) || + cfg!(target_os = "fuchsia") || false // last clause, used so `||` is always trailing above }