Skip to content

Commit 4db179f

Browse files
committed
Gate posix_spawn related functions.
1 parent 2bf0021 commit 4db179f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ pub mod unistd;
185185
#[cfg(any(feature = "poll", feature = "event"))]
186186
mod poll_timeout;
187187

188+
#[cfg(any(
189+
target_os = "freebsd",
190+
target_os = "haiku",
191+
target_os = "linux",
192+
target_os = "netbsd",
193+
target_os = "macos",
194+
target_os = "ios"
195+
))]
188196
feature! {
189197
#![feature = "process"]
190198
pub mod spawn;

0 commit comments

Comments
 (0)