Skip to content

Commit 5dbaac1

Browse files
committed
Remove Fuchsia from target OS list in unix.rs for sleep
1 parent b3cda16 commit 5dbaac1

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

library/std/src/sys/thread/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ cfg_select! {
7070
target_os = "illumos",
7171
target_os = "dragonfly",
7272
target_os = "hurd",
73-
target_os = "fuchsia",
7473
target_os = "vxworks",
7574
target_os = "wasi",
7675
target_vendor = "apple",
@@ -131,7 +130,6 @@ cfg_select! {
131130
target_os = "illumos",
132131
target_os = "dragonfly",
133132
target_os = "hurd",
134-
target_os = "fuchsia",
135133
target_os = "vxworks",
136134
target_os = "wasi",
137135
target_vendor = "apple",

library/std/src/sys/thread/unix.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,6 @@ pub fn sleep(dur: Duration) {
542542
target_os = "illumos",
543543
target_os = "dragonfly",
544544
target_os = "hurd",
545-
target_os = "fuchsia",
546545
target_os = "vxworks",
547546
target_os = "wasi",
548547
) => {
@@ -640,7 +639,6 @@ pub fn sleep(dur: Duration) {
640639
target_os = "illumos",
641640
target_os = "dragonfly",
642641
target_os = "hurd",
643-
target_os = "fuchsia",
644642
target_os = "vxworks",
645643
target_os = "wasi",
646644
))]

library/std/src/thread/functions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 | [clock_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 |

0 commit comments

Comments
 (0)