Rollup merge of #64198 - cramertj:fuchsia-monotonic, r=alexcrichton
Add Fuchsia to actually_monotonic Fuchsia provides a fully monotonic clock. Fix https://github.com/rust-lang/rust/issues/64196 cc @joshlf @tmandry r? @alexcrichton
This commit is contained in:
commit
61fcd057d2
|
@ -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