]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/back/link.rs
auto merge of #11604 : alexcrichton/rust/issue-11162, r=brson
[rust.git] / src / librustc / back / link.rs
index 8948727c7bdff2c160406fd07b9981e648c6919b..9e1e1f7bd342b4e1252dd0579c21b2ccd5d97ea7 100644 (file)
@@ -1169,7 +1169,7 @@ fn add_local_native_libraries(args: &mut ~[~str], sess: Session) {
 fn add_upstream_rust_crates(args: &mut ~[~str], sess: Session,
                             dylib: bool, tmpdir: &Path) {
     // Converts a library file-stem into a cc -l argument
-    fn unlib(config: @session::config, stem: &str) -> ~str {
+    fn unlib(config: @session::Config, stem: &str) -> ~str {
         if stem.starts_with("lib") &&
             config.os != abi::OsWin32 {
             stem.slice(3, stem.len()).to_owned()