This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use crate::install;
2323use crate :: native;
2424use crate :: test;
2525use crate :: tool;
26- use crate :: util:: { self , add_lib_path , exe, libdir} ;
26+ use crate :: util:: { self , add_dylib_path , exe, libdir} ;
2727use crate :: { Build , DocTests , GitRepo , Mode } ;
2828
2929pub use crate :: Compiler ;
@@ -660,7 +660,7 @@ impl<'a> Builder<'a> {
660660 return ;
661661 }
662662
663- add_lib_path ( vec ! [ self . rustc_libdir( compiler) ] , & mut cmd. command ) ;
663+ add_dylib_path ( vec ! [ self . rustc_libdir( compiler) ] , & mut cmd. command ) ;
664664 }
665665
666666 /// Gets a path to the compiler specified.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use crate::channel;
1212use crate :: channel:: GitInfo ;
1313use crate :: compile;
1414use crate :: toolstate:: ToolState ;
15- use crate :: util:: { add_lib_path , exe, CiEnv } ;
15+ use crate :: util:: { add_dylib_path , exe, CiEnv } ;
1616use crate :: Compiler ;
1717use crate :: Mode ;
1818
@@ -388,7 +388,7 @@ pub struct ErrorIndex {
388388impl ErrorIndex {
389389 pub fn command ( builder : & Builder < ' _ > , compiler : Compiler ) -> Command {
390390 let mut cmd = Command :: new ( builder. ensure ( ErrorIndex { compiler } ) ) ;
391- add_lib_path (
391+ add_dylib_path (
392392 vec ! [ PathBuf :: from( & builder. sysroot_libdir( compiler, compiler. host) ) ] ,
393393 & mut cmd,
394394 ) ;
@@ -689,7 +689,7 @@ impl<'a> Builder<'a> {
689689 }
690690 }
691691
692- add_lib_path ( lib_paths, & mut cmd) ;
692+ add_dylib_path ( lib_paths, & mut cmd) ;
693693 cmd
694694 }
695695}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pub fn libdir(target: &str) -> &'static str {
4040}
4141
4242/// Adds a list of lookup paths to `cmd`'s dynamic library lookup path.
43- pub fn add_lib_path ( path : Vec < PathBuf > , cmd : & mut Command ) {
43+ pub fn add_dylib_path ( path : Vec < PathBuf > , cmd : & mut Command ) {
4444 let mut list = dylib_path ( ) ;
4545 for path in path {
4646 list. insert ( 0 , path) ;
You can’t perform that action at this time.
0 commit comments