Expand description
Build- and compiler-version constants and helpers captured at build time.
Constants§
- BUILD_
TIMESTAMP - UTC timestamp of when the crate was built.
- GIT_
DESCRIBE - Output of
git describefor the build’s source revision. - GIT_SHA
- Git commit SHA of the build’s source revision.
- RUSTC_
CHANNEL - Release channel of the
rustcused to build the crate (e.g.stable). - RUSTC_
COMMIT_ DATE - Commit date of the
rustcused to build the crate. - RUSTC_
COMMIT_ HASH - Commit hash of the
rustcused to build the crate. - RUSTC_
HOST_ TRIPLE - Host target triple of the
rustcused to build the crate. - RUSTC_
LLVM_ VERSION - LLVM version backing the
rustcused to build the crate. - RUSTC_
SEMVER - Semantic version of the
rustcused to build the crate.