]> git.lizzy.rs Git - rust.git/commitdiff
librustc_trans: fix fallout
authorJorge Aparicio <japaricious@gmail.com>
Tue, 9 Dec 2014 01:00:29 +0000 (20:00 -0500)
committerJorge Aparicio <japaricious@gmail.com>
Sat, 13 Dec 2014 22:03:47 +0000 (17:03 -0500)
src/librustc_trans/back/link.rs

index 62f8177ed758d36dd313ee49d08a73d7187b9988..5617110bfecf774f5c89b5a767a91b6d51ca18bf 100644 (file)
@@ -1002,7 +1002,7 @@ fn link_args(cmd: &mut Command,
     if sess.opts.cg.rpath {
         let sysroot = sess.sysroot();
         let target_triple = sess.opts.target_triple.as_slice();
-        let get_install_prefix_lib_path = || {
+        let get_install_prefix_lib_path = |:| {
             let install_prefix = option_env!("CFG_PREFIX").expect("CFG_PREFIX");
             let tlib = filesearch::relative_target_lib_path(sysroot, target_triple);
             let mut path = Path::new(install_prefix);