about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-11 04:41:39 -0800
committerbors <bors@rust-lang.org>2014-02-11 04:41:39 -0800
commit9e133d113ba45e146d091c699f5235052f798012 (patch)
tree1627bf6c0b196205173f2bc78549ba00a9c82b27
parentfd4979ad0427aca01e500d0d26350525e9e17f2d (diff)
parent8be1e3454490ffa15efc243674dd388271b0a478 (diff)
downloadrust-9e133d113ba45e146d091c699f5235052f798012.tar.gz
rust-9e133d113ba45e146d091c699f5235052f798012.zip
auto merge of #12176 : kballard/rust/dep-info-lib-filename, r=alexcrichton
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 a23348bb0ff..fb261eb7310 100644
--- a/src/librustc/driver/driver.rs
+++ b/src/librustc/driver/driver.rs
@@ -1085,7 +1085,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 {