Skip to main content

executable_path

Function executable_path 

Source
pub fn executable_path(binary_dir: Option<&Path>) -> Option<PathBuf>
Expand description

Returns the path to the launcher binary for a configured executable.

§Parameters

§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"));
  • crate::binaries for adjacent helpers that share the same runtime surface.