@@ -672,7 +672,7 @@ where
672672// TODO: do we really need this as a separate function?
673673// Maybe we should reorganize `rustc` fn to make it more traceable and readable.
674674fn prepare_rustc (
675- cx : & mut Context < ' _ , ' _ > ,
675+ cx : & Context < ' _ , ' _ > ,
676676 crate_types : & [ CrateType ] ,
677677 unit : & Unit ,
678678) -> CargoResult < ProcessBuilder > {
@@ -942,7 +942,7 @@ fn add_error_format_and_color(cx: &Context<'_, '_>, cmd: &mut ProcessBuilder) {
942942
943943/// Adds essential rustc flags and environment variables to the command to execute.
944944fn build_base_args (
945- cx : & mut Context < ' _ , ' _ > ,
945+ cx : & Context < ' _ , ' _ > ,
946946 cmd : & mut ProcessBuilder ,
947947 unit : & Unit ,
948948 crate_types : & [ CrateType ] ,
@@ -1241,11 +1241,7 @@ fn lto_args(cx: &Context<'_, '_>, unit: &Unit) -> Vec<OsString> {
12411241///
12421242/// [`-L`]: https://doc.rust-lang.org/nightly/rustc/command-line-arguments.html#-l-add-a-directory-to-the-library-search-path
12431243/// [`--extern`]: https://doc.rust-lang.org/nightly/rustc/command-line-arguments.html#--extern-specify-where-an-external-library-is-located
1244- fn build_deps_args (
1245- cmd : & mut ProcessBuilder ,
1246- cx : & mut Context < ' _ , ' _ > ,
1247- unit : & Unit ,
1248- ) -> CargoResult < ( ) > {
1244+ fn build_deps_args ( cmd : & mut ProcessBuilder , cx : & Context < ' _ , ' _ > , unit : & Unit ) -> CargoResult < ( ) > {
12491245 let bcx = cx. bcx ;
12501246 cmd. arg ( "-L" ) . arg ( & {
12511247 let mut deps = OsString :: from ( "dependency=" ) ;
0 commit comments