Skip to content

Commit 8be1e34

Browse files
committed
Output the correct library filename with --dep-info
Fixes #12174.
1 parent 47ab5d2 commit 8be1e34

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
@@ -1087,7 +1087,7 @@ pub fn build_output_filenames(input: &Input,
10871087
// We want to toss everything after the final '.'
10881088
let dirpath = match *odir {
10891089
Some(ref d) => d.clone(),
1090-
None => os::getcwd(),
1090+
None => Path::new(".")
10911091
};
10921092

10931093
let mut stem = match *input {

0 commit comments

Comments
 (0)