Add Fuchsia to actually_monotonic

Fuchsia provides a fully monotonic clock.
This commit is contained in:
Taylor Cramer 2019-09-05 16:44:22 -07:00
parent 618768492f
commit bb1e42599d

View file

@ -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
}