Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5e2cc57

Browse files
committedJul 9, 2024
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‎

Lines changed: 1 addition & 1 deletion
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)
This repository has been archived.