Constant sysinfo::IS_SUPPORTED_SYSTEM
source ยท pub const IS_SUPPORTED_SYSTEM: bool = true;
Expand description
Returns true
if this OS is supported. Please refer to the
crate-level documentation to get the list of supported OSes.
if sysinfo::IS_SUPPORTED_SYSTEM {
println!("This OS is supported!");
} else {
println!("This OS isn't supported (yet?).");
}