Function build_target::target_os[][src]

pub fn target_os() -> Result<Os<'static>, VarError>
Expand description

Gets the current target Os. This function is equivalent to Os::target().