about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-03-08 22:21:36 -0700
committerRicho Healey <richo@psych0tik.net>2015-03-08 22:21:59 -0700
commit103636114d67417048758b4a4d236383af2d44dd (patch)
tree72772a6674abb1c568d66cdbdc14554d3ec857ce
parent0487ad91193057cfcf109e4efa7bef6b00944e2b (diff)
downloadrust-103636114d67417048758b4a4d236383af2d44dd.tar.gz
rust-103636114d67417048758b4a4d236383af2d44dd.zip
normalize the current directory as Path{""}
-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 13499439f72..dc27a301109 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -927,7 +927,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 => PathBuf::new(".")
+                None => PathBuf::new("")
             };
 
             // If a crate name is present, we use it as the link name