diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-16 20:10:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 20:10:11 -0500 |
| commit | 8840d302e59c63f15e3779a35dad84aeb77c10f0 (patch) | |
| tree | 1942dbe5302747e948a61b42a85eef456c2624ef /compiler/rustc_codegen_ssa | |
| parent | 4013acdda2167176f6dba4c2aac22ca8fb82bdc3 (diff) | |
| parent | f96f68f2ec4b512a91b27d1b14d3dae66305cc6e (diff) | |
| download | rust-8840d302e59c63f15e3779a35dad84aeb77c10f0.tar.gz rust-8840d302e59c63f15e3779a35dad84aeb77c10f0.zip | |
Rollup merge of #127512 - eggyal:newline-terminate-print-linkargs, r=compiler-errors
Terminate `--print link-args` output with newline Fixes #127507
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index 1f627353d54..8e07d128dbd 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -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); } } |
