Skip to content

Commit 6708d56

Browse files
committed
Fix bug in depinfo output
1 parent e3089c7 commit 6708d56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_interface/src/passes.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
538538
for path in out_filenames {
539539
write!(
540540
file,
541-
"{}: {}\n",
541+
"{}: {}",
542542
path.display(),
543543
files
544544
.iter()
@@ -565,6 +565,7 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
565565
})?;
566566
}
567567
writeln!(file)?;
568+
writeln!(file)?;
568569
}
569570

570571
// Emit a fake target for each input file to the compilation. This

0 commit comments

Comments
 (0)