Skip to content

Commit

Permalink
Gate posix_spawn related functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosayoda committed Mar 31, 2024
1 parent 925293e commit 1d2f449
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib.rs
Expand Up @@ -185,6 +185,14 @@ pub mod unistd;
#[cfg(any(feature = "poll", feature = "event"))]
mod poll_timeout;

#[cfg(any(
target_os = "freebsd",
target_os = "haiku",
target_os = "linux",
target_os = "netbsd",
target_os = "macos",
target_os = "ios"
))]
feature! {
#![feature = "process"]
pub mod spawn;
Expand Down

0 comments on commit 1d2f449

Please sign in to comment.