Skip to content

Commit 1036361

Browse files
committed
normalize the current directory as Path{""}
1 parent 0487ad9 commit 1036361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ pub fn build_output_filenames(input: &Input,
927927
// We want to toss everything after the final '.'
928928
let dirpath = match *odir {
929929
Some(ref d) => d.clone(),
930-
None => PathBuf::new(".")
930+
None => PathBuf::new("")
931931
};
932932

933933
// If a crate name is present, we use it as the link name

0 commit comments

Comments
 (0)