pub const fn kind() -> Kind
The operating system family this program was compiled for.
#[cfg(target_os = "linux")] assert_eq!(sys::os::kind(), sys::os::Kind::Linux);