From 8be1e3454490ffa15efc243674dd388271b0a478 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Mon, 10 Feb 2014 21:06:01 -0800 Subject: [PATCH] Output the correct library filename with --dep-info Fixes #12174. --- 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 15240897b2a..d30ecfba8f8 100644 --- a/src/librustc/driver/driver.rs +++ b/src/librustc/driver/driver.rs @@ -1087,7 +1087,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 => os::getcwd(), + None => Path::new(".") }; let mut stem = match *input {