std::env::consts - Rust
Description: API documentation for the Rust `consts` mod in crate `std`.
Keywords: rust, rustlang, rust-lang, consts

# Module std::env::consts 1.0.0 [−] [src]

Constants associated with the current target

## Constants

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 `so`.
DLL_PREFIX | Specifies the filename prefix used for shared libraries on this platform. Example value is `lib`.
DLL_SUFFIX | Specifies the filename suffix used for shared libraries on this platform. Example value is `.so`.
EXE_EXTENSION | Specifies the file extension, if any, used for executable binaries on this platform. Example value is `exe`.
EXE_SUFFIX | Specifies the filename suffix used for executable binaries on this platform. Example value is `.exe`.
FAMILY | The family of the operating system. Example value is `unix`.
OS | A string describing the specific operating system in use. Example value is `linux`.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
↑
  Move up in search results
↓
  Move down in search results
↹
  Switch tab
⏎
  Go to active search result
+ / -
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)