Expand description
Information about the program build via built
crate
Statics§
- BUILT_
TIME_ UTC - The build time in RFC2822, UTC.
- CFG_
ENDIAN - The endianness, given by
CARGO_CFG_TARGET_ENDIAN
. - CFG_ENV
- The toolchain-environment, given by
CARGO_CFG_TARGET_ENV
. - CFG_
FAMILY - The OS-family, given by
CARGO_CFG_TARGET_FAMILY
. - CFG_OS
- The operating system, given by
CARGO_CFG_TARGET_OS
. - CFG_
POINTER_ WIDTH - The pointer width, given by
CARGO_CFG_TARGET_POINTER_WIDTH
. - CFG_
TARGET_ ARCH - The target architecture, given by
CARGO_CFG_TARGET_ARCH
. - CI_
PLATFORM - The Continuous Integration platform detected during compilation.
- DEBUG
- Value of DEBUG for the profile used during compilation.
- FEATURES
- The features that were enabled during compilation.
- FEATURES_
LOWERCASE - The features as above, as lowercase strings.
- FEATURES_
LOWERCASE_ STR - The feature-string as above, from lowercase strings.
- FEATURES_
STR - The features as a comma-separated string.
- GIT_
COMMIT_ HASH - If the crate was compiled from within a git-repository,
GIT_COMMIT_HASH
contains HEAD’s full commit SHA-1 hash. - GIT_
COMMIT_ HASH_ SHORT - If the crate was compiled from within a git-repository,
GIT_COMMIT_HASH_SHORT
contains HEAD’s short commit SHA-1 hash. - GIT_
DIRTY - If the repository had dirty/staged files.
- GIT_
HEAD_ REF - If the crate was compiled from within a git-repository,
GIT_HEAD_REF
contains full name to the reference pointed to by HEAD (e.g.:refs/heads/master
). If HEAD is detached or the branch name is not valid UTF-8None
will be stored. - GIT_
VERSION - If the crate was compiled from within a git-repository,
GIT_VERSION
contains HEAD’s tag. The short commit id is used if HEAD is not tagged. - HOST
- The host triple of the rust compiler.
- NUM_
JOBS - The parallelism that was specified during compilation.
- OPT_
LEVEL - Value of OPT_LEVEL for the profile used during compilation.
- OVERRIDE_
VARIABLES_ USED - The override-variables that were used during compilation.
- PKG_
AUTHORS - A colon-separated list of authors.
- PKG_
DESCRIPTION - The description.
- PKG_
HOMEPAGE - The homepage.
- PKG_
LICENSE - The license.
- PKG_
NAME - The name of the package.
- PKG_
REPOSITORY - The source repository as advertised in Cargo.toml.
- PKG_
VERSION - The full version.
- PKG_
VERSION_ MAJOR - The major version.
- PKG_
VERSION_ MINOR - The minor version.
- PKG_
VERSION_ PATCH - The patch version.
- PKG_
VERSION_ PRE - The pre-release version.
- PROFILE
release
for release builds,debug
for other builds.- RUSTC
- The compiler that cargo resolved to use.
- RUSTC_
VERSION - The output of
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc -V
- RUSTDOC
- The documentation generator that cargo resolved to use.
- RUSTDOC_
VERSION - The output of
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustdoc -V
; empty string if/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustdoc -V
failed to execute - TARGET
- The target triple that was being compiled for.