Skip to main content

set_extra_trusted_dirs

Function set_extra_trusted_dirs 

Source
pub fn set_extra_trusted_dirs(dirs: Vec<PathBuf>)
Expand description

Replace the caller-configured trusted binary directories.

Only absolute paths are retained. Relative paths would make the trust boundary depend on the process working directory, reopening the PATH-style ambiguity this module exists to avoid.