Closed
Description
Running with --print link-args
doesn't include a trailing \n
so the next shell prompt gets smooshed on:
root@886c7cdb990c:/home# rustc a.rs --print link-args
LC_ALL="C" PATH="/root/.rustup/ /* SNIP */ "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"root@886c7cdb990c:/home#
I can't imagine this is intentional since all other --print
options seem to include the newline.
rustc 1.81.0-nightly (35b658fb1 2024-07-08)
binary: rustc
commit-hash: 35b658fb1071d752d092751d9f17a9fa7b154ec4
commit-date: 2024-07-08
host: aarch64-unknown-linux-gnu
release: 1.81.0-nightly
LLVM version: 18.1.7