Skip to content

Commit 16ee07e

Browse files
Rollup merge of rust-lang#64198 - cramertj:fuchsia-monotonic, r=alexcrichton
Add Fuchsia to actually_monotonic Fuchsia provides a fully monotonic clock. Fix rust-lang#64196 cc @joshlf @tmandry r? @alexcrichton
2 parents d909170 + bb1e425 commit 16ee07e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/sys/unix/time.rs

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ mod inner {
311311
pub fn actually_monotonic() -> bool {
312312
(cfg!(target_os = "linux") && cfg!(target_arch = "x86_64")) ||
313313
(cfg!(target_os = "linux") && cfg!(target_arch = "x86")) ||
314+
cfg!(target_os = "fuchsia") ||
314315
false // last clause, used so `||` is always trailing above
315316
}
316317

0 commit comments

Comments
 (0)