Skip to content

Commit 5e2cc57

Browse files
committed
Terminate --print link-args output with newline
1 parent 5be2ec7 commit 5e2cc57

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ fn link_natively(
750750

751751
for print in &sess.opts.prints {
752752
if print.kind == PrintKind::LinkArgs {
753-
let content = format!("{cmd:?}");
753+
let content = format!("{cmd:?}\n");
754754
print.out.overwrite(&content, sess);
755755
}
756756
}

0 commit comments

Comments
 (0)