pub fn profile() -> String
The selected build profile, e.g. release, debug, or a custom profile as defined in Cargo.toml.
release
debug
Cargo.toml
Corresponds to the DEBUG environment variable set by Cargo when when compiling build.rs.
DEBUG
build.rs