std::os::consts::SYSNAMEExperimental [-]  [+] [src]

pub const SYSNAME: &'static str = "windows"

A string describing the specific operating system in use: in this case, windows.