normalize the current directory as Path{""}

This commit is contained in:
Richo Healey 2015-03-08 22:21:36 -07:00
parent 0487ad9119
commit 103636114d

View file

@ -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