1
2
3
4
5
6
7
8
9
//! Process-associated operations.

#[cfg(not(target_os = "wasi"))] // WASI doesn't have get[gpu]id.
mod id;
mod sched;

#[cfg(not(target_os = "wasi"))]
pub use id::{getgid, getpid, getuid};
pub use sched::sched_yield;