Skip to main content

cargo_build_profile

Function cargo_build_profile 

Source
pub fn cargo_build_profile() -> &'static str
Expand description

Returns the Cargo build profile directory name for cross-compiled artifacts (e.g., pipette).

Infers the profile from the currently running binary’s path (looking for a release component in the executable path). Defaults to "debug".