about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-10 21:06:01 -0800
committerKevin Ballard <kevin@sb.org>2014-02-10 21:06:01 -0800
commit8be1e3454490ffa15efc243674dd388271b0a478 (patch)
tree7e2095cf4532cc87292e8cc1fe1688ce22e9eff9
parent47ab5d2d42aaf9e04afe6cc5aa84446e523d83ff (diff)
downloadrust-8be1e3454490ffa15efc243674dd388271b0a478.tar.gz
rust-8be1e3454490ffa15efc243674dd388271b0a478.zip
Output the correct library filename with --dep-info
Fixes #12174.
-rw-r--r--src/librustc/driver/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/driver/driver.rs b/src/librustc/driver/driver.rs
index 15240897b2a..d30ecfba8f8 100644
--- a/src/librustc/driver/driver.rs
+++ b/src/librustc/driver/driver.rs
@@ -1087,7 +1087,7 @@ pub fn build_output_filenames(input: &Input,
             // We want to toss everything after the final '.'
             let dirpath = match *odir {
                 Some(ref d) => d.clone(),
-                None => os::getcwd(),
+                None => Path::new(".")
             };
 
             let mut stem = match *input {