diff options
| author | Alan Egerton <eggyal@gmail.com> | 2024-07-09 10:40:26 +0100 |
|---|---|---|
| committer | Alan Egerton <eggyal@gmail.com> | 2024-07-09 10:40:26 +0100 |
| commit | 5e2cc5793a9cf7cdbb4758ce18470dbdefd8491c (patch) | |
| tree | 714204b8e0d83d4179cdc32d5249712dac764b75 /compiler/rustc_codegen_ssa/src/back | |
| parent | 5be2ec7245de6e8015a0daedf24d20e3e5bf2062 (diff) | |
| download | rust-5e2cc5793a9cf7cdbb4758ce18470dbdefd8491c.tar.gz rust-5e2cc5793a9cf7cdbb4758ce18470dbdefd8491c.zip | |
Terminate `--print link-args` output with newline
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -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); } } |
