]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_driver/driver.rs
Rollup merge of #25252 - inrustwetrust:crate-type-attribute, r=alexcrichton
[rust.git] / src / librustc_driver / driver.rs
index a956b173f96c685d3ef7286c3d74d776998b581a..0073c0b061039806ff2503071d7eb167b18b8108 100644 (file)
@@ -479,7 +479,8 @@ pub fn phase_2_configure_and_expand(sess: &Session,
             let mut _old_path = OsString::new();
             if cfg!(windows) {
                 _old_path = env::var_os("PATH").unwrap_or(_old_path);
-                let mut new_path = sess.host_filesearch(PathKind::All).get_dylib_search_paths();
+                let mut new_path = sess.host_filesearch(PathKind::All)
+                                       .get_dylib_search_paths();
                 new_path.extend(env::split_paths(&_old_path));
                 env::set_var("PATH", &env::join_paths(new_path.iter()).unwrap());
             }