Skip to main content

os_name

Function os_name 

Source
pub fn os_name() -> &'static str
Expand description

Return the OS name in the format most providers expect.

Maps Rust’s std::env::consts::OS:

  • "macos""darwin"
  • everything else passed through ("linux", "windows", …)