mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Add Fuchsia to actually_monotonic
Fuchsia provides a fully monotonic clock.
This commit is contained in:
parent
618768492f
commit
bb1e42599d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user