diff options
| author | Taylor Cramer <cramertj@google.com> | 2019-09-05 16:44:22 -0700 |
|---|---|---|
| committer | Taylor Cramer <cramertj@google.com> | 2019-09-05 16:44:22 -0700 |
| commit | bb1e42599d0062b9a43e83b5486d61eb1fcf0771 (patch) | |
| tree | 6956f21de020ed01054b03d01f4ab5580bd2a1de /src/libstd/sys | |
| parent | 618768492f0c731fcb770dc2d178abe840846419 (diff) | |
| download | rust-bb1e42599d0062b9a43e83b5486d61eb1fcf0771.tar.gz rust-bb1e42599d0062b9a43e83b5486d61eb1fcf0771.zip | |
Add Fuchsia to actually_monotonic
Fuchsia provides a fully monotonic clock.
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/time.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/time.rs b/src/libstd/sys/unix/time.rs index 02f377d55c9..fd6796ad22c 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 } |
