pub fn executable_path(binary_dir: Option<&Path>) -> Option<PathBuf>Expand description
Returns the path to the launcher binary for a configured executable.
§Parameters
binary_dir: Input consumed bycrate::binaries::executable_path.
§Returns
Returns Some when crate::binaries::executable_path can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::binaries::executable_path(std::path::Path::new("bin"));§Related
crate::binariesfor adjacent helpers that share the same runtime surface.