std::env::consts

Constant FAMILY

1.0.0 ยท Source
pub const FAMILY: &str;
Expand description

A string describing the family of the operating system. An example value may be: "unix", or "windows".

This value may be an empty string if the family is unknown.

Full list of possible values
  • "unix"
  • "windows"
  • "itron"
  • "wasm"
  • ""