Constants associated with the current target
ARCH |
A string describing the architecture of the CPU that is currently in use. |
DLL_EXTENSION |
Specifies the file extension used for shared libraries on this platform that goes after the dot. Example value is |
DLL_PREFIX |
Specifies the filename prefix used for shared libraries on this platform. Example value is |
DLL_SUFFIX |
Specifies the filename suffix used for shared libraries on this platform. Example value is |
EXE_EXTENSION |
Specifies the file extension, if any, used for executable binaries on this platform. Example value is |
EXE_SUFFIX |
Specifies the filename suffix used for executable binaries on this platform. Example value is |
FAMILY |
The family of the operating system. Example value is |
OS |
A string describing the specific operating system in use. Example value is |
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/env/consts/index.html