Crate host_discovery
source ·Functions
- Returns the architecture of the host operating system; matches against
std::env::consts::ARCH - Returns the NAME of the Linux distribution via
/etc/os-release - Returns the VERSION_ID of the Linux distribution via
/etc/os-release - Returns the name of the host operating system; matches against
std::env::consts::OS - Checks if the linux environment is a Windows subsystem