1 //! Process parameters. 2 //! 3 //! These values correspond to `sysconf` in POSIX, and the auxv array in Linux. 4 //! Despite the POSIX name “sysconf”, these aren't *system* configuration 5 //! parameters; they're *process* configuration parameters, as they may differ 6 //! between different processes on the same system. 7 8 #[cfg(feature = "param")] 9 mod auxv; 10 #[cfg(target_vendor = "mustang")] 11 mod init; 12 13 #[cfg(feature = "param")] 14 #[cfg(not(target_os = "wasi"))] 15 pub use auxv::clock_ticks_per_second; 16 #[cfg(feature = "param")] 17 pub use auxv::page_size; 18 #[cfg(feature = "param")] 19 #[cfg(any( 20 linux_raw, 21 all( 22 libc, 23 any( 24 all(target_os = "android", target_pointer_width = "64"), 25 target_os = "linux", 26 ) 27 ) 28 ))] 29 pub use auxv::{linux_execfn, linux_hwcap}; 30 #[cfg(target_vendor = "mustang")] 31 pub use init::init; 32