diff options
| author | Richo Healey <richo@psych0tik.net> | 2015-03-08 22:21:36 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2015-03-08 22:21:59 -0700 |
| commit | 103636114d67417048758b4a4d236383af2d44dd (patch) | |
| tree | 72772a6674abb1c568d66cdbdc14554d3ec857ce | |
| parent | 0487ad91193057cfcf109e4efa7bef6b00944e2b (diff) | |
| download | rust-103636114d67417048758b4a4d236383af2d44dd.tar.gz rust-103636114d67417048758b4a4d236383af2d44dd.zip | |
normalize the current directory as Path{""}
| -rw-r--r-- | src/librustc_driver/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 13499439f72..dc27a301109 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 |
