compiletest::util

Function add_dylib_path

source
pub fn add_dylib_path(
    cmd: &mut Command,
    paths: impl Iterator<Item = impl Into<PathBuf>>,
)
Expand description

Adds a list of lookup paths to cmd’s dynamic library lookup path. If the dylib_path_var is already set for this cmd, the old value will be overwritten!