From 103636114d67417048758b4a4d236383af2d44dd Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Sun, 8 Mar 2015 22:21:36 -0700 Subject: [PATCH] normalize the current directory as Path{""} --- src/librustc_driver/driver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 13499439f724..dc27a3011095 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