File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ pub fn sleep_until(deadline: crate::time::Instant) {
731731 }
732732}
733733
734- #[ cfg( any ( target_vendor = "apple" , target_os = "fuchsia" ) ) ]
734+ #[ cfg( target_vendor = "apple" ) ]
735735pub fn sleep_until ( deadline : crate :: time:: Instant ) {
736736 unsafe extern "C" {
737737 // This is defined in the public header mach/mach_time.h alongside
Original file line number Diff line number Diff line change @@ -316,7 +316,6 @@ pub fn sleep(dur: Duration) {
316316/// | Illumos | [clock_nanosleep] (Monotonic Clock)] |
317317/// | Dragonfly | [clock_nanosleep] (Monotonic Clock)] |
318318/// | Hurd | [clock_nanosleep] (Monotonic Clock)] |
319- /// | Fuchsia | [nanosleep] (Monotonic Clock)] |
320319/// | Vxworks | [clock_nanosleep] (Monotonic Clock)] |
321320/// | Apple | `mach_wait_until` |
322321/// | Other | `sleep_until` uses [`sleep`] and does not issue a syscall itself |
You can’t perform that action at this time.
0 commit comments