Skip to main content

find

Function find 

Source
pub fn find<'a, I: IntoIterator<Item = Strategy<'a>>>(
    name: impl AsRef<str>,
    strats: I,
) -> Result<PathBuf>
Available on crate feature fs only.
Expand description

Find the executable using a series of strategies.

If there’s already a registered path from a previous find that matches name, that path is returned instead.

See cu::bin module-level documentation for more info.