Skip to main content

Module build

Module build 

Source
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_FEATURES environment variable.
git_envs
Builds environment variables related to git.
target_envs
Builds environment variables related to the target platform.