heim_process/os/mod.rs
1//! OS-specific extensions.
2//!
3//! These are not cross-platform and their usage should be `cfg`-wrapped.
4
5#[cfg(unix)]
6pub mod unix;
7
8cfg_if::cfg_if! {
9 if #[cfg(target_os = "linux")] {
10 pub mod linux;
11 } else if #[cfg(target_os = "macos")] {
12 pub mod macos;
13 } else if #[cfg(target_os = "windows")] {
14 pub mod windows;
15 }
16}