Make SearchPath::new public
This commit is contained in:
parent
4c5fc2c334
commit
9566163364
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ impl SearchPath {
|
|||
Self::new(PathKind::All, make_target_lib_path(sysroot, triple))
|
||||
}
|
||||
|
||||
fn new(kind: PathKind, dir: PathBuf) -> Self {
|
||||
pub fn new(kind: PathKind, dir: PathBuf) -> Self {
|
||||
// Get the files within the directory.
|
||||
let files = match std::fs::read_dir(&dir) {
|
||||
Ok(files) => files
|
||||
|
|
Loading…
Add table
Reference in a new issue