Module std::env::consts

1.0.0 · source ·
Expand description

Constants associated with the current target

Constants§

  • A string describing the architecture of the CPU that is currently in use.
  • Specifies the file extension used for shared libraries on this platform that goes after the dot. Example value is so.
  • Specifies the filename prefix used for shared libraries on this platform. Example value is lib.
  • Specifies the filename suffix used for shared libraries on this platform. Example value is .so.
  • Specifies the file extension, if any, used for executable binaries on this platform. Example value is exe.
  • Specifies the filename suffix used for executable binaries on this platform. Example value is .exe.
  • The family of the operating system. Example value is unix.
  • A string describing the specific operating system in use. Example value is linux.