Skip to main content

find_bundled_tool

Function find_bundled_tool 

Source
pub fn find_bundled_tool(
    toolkit: &BundledToolkit,
    tool: &str,
) -> Option<PathBuf>
Expand description

Locate a helper binary inside a bundled toolkit. Returns the full path to the binary if found, otherwise None.

Resolution order:

  1. Each ToolkitRoot in declaration order (with bounded descent).
  2. The ToolkitAnchor, if set: which <bin> → canonicalize → walk up.