Available on crate feature
build only.Expand description
Helpers for binary build scripts.
Small functions a build.rs calls to expose enabled features, target platform and git metadata as environment variables baked into the binary.
Functionsยง
- features_
env - Builds the
CARGO_FEATURESenvironment variable. - git_
envs - Builds environment variables related to git.
- target_
envs - Builds environment variables related to the target platform.