Fix bug in depinfo output

This commit is contained in:
Jacob Kiesel 2024-09-28 23:13:18 -06:00
parent e3089c787c
commit 6708d56fd2

View File

@ -538,7 +538,7 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
for path in out_filenames {
write!(
file,
"{}: {}\n",
"{}: {}",
path.display(),
files
.iter()
@ -565,6 +565,7 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
})?;
}
writeln!(file)?;
writeln!(file)?;
}
// Emit a fake target for each input file to the compilation. This