Skip to content

Commit 4f050bf

Browse files
author
Jose Narvaez
committed
Manual fixups.
1 parent 4e64645 commit 4f050bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ pub fn phase_6_link_output(sess: &Session,
881881
fn escape_dep_filename(filename: &str) -> String {
882882
// Apparently clang and gcc *only* escape spaces:
883883
// http://llvm.org/klaus/clang/commit/9d50634cfc268ecc9a7250226dd5ca0e945240d4
884-
filename.replace(" ", "\")
884+
filename.replace(" ", "\\ ")
885885
}
886886

887887
fn write_out_deps(sess: &Session, outputs: &OutputFilenames, id: &str) {

0 commit comments

Comments
 (0)