Skip to content

Commit

Permalink
Terminate --print link-args output with newline
Browse files Browse the repository at this point in the history
  • Loading branch information
eggyal committed Jul 9, 2024
1 parent 5be2ec7 commit 5e2cc57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_ssa/src/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ fn link_natively(

for print in &sess.opts.prints {
if print.kind == PrintKind::LinkArgs {
let content = format!("{cmd:?}");
let content = format!("{cmd:?}\n");
print.out.overwrite(&content, sess);
}
}
Expand Down

0 comments on commit 5e2cc57

Please sign in to comment.