Terminate --print link-args output with newline

This commit is contained in:
Alan Egerton 2024-07-09 10:40:26 +01:00
parent 5be2ec7245
commit 5e2cc5793a
No known key found for this signature in database
GPG Key ID: 7D4C2F6C22122532

View File

@ -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);
}
}