diff options
| author | Jacob Kiesel <jake@bitcrafters.co> | 2024-09-28 23:13:18 -0600 |
|---|---|---|
| committer | Jacob Kiesel <jake@bitcrafters.co> | 2024-10-01 21:24:06 -0600 |
| commit | 6708d56fd2d5f937bc4b137757f18cd7c8dbd06b (patch) | |
| tree | 7fb9cc73396f224db8a999245e6aa909fdff6332 | |
| parent | e3089c787ce11ea45e0bb59a7c43c2803b326290 (diff) | |
| download | rust-6708d56fd2d5f937bc4b137757f18cd7c8dbd06b.tar.gz rust-6708d56fd2d5f937bc4b137757f18cd7c8dbd06b.zip | |
Fix bug in depinfo output
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index cd5624e38bd..5a8ea410a63 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -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 |
