Constant no_std_compat::env::consts::OS

1.0.0 · source ·
pub const OS: &'static str;
Expand description

A string describing the specific operating system in use. Example value is linux.

Some possible values:

  • linux
  • macos
  • ios
  • freebsd
  • dragonfly
  • netbsd
  • openbsd
  • solaris
  • android
  • windows