]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 20 Jan 2022 16:10:32 +0000 (17:10 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Jan 2022 16:10:32 +0000 (17:10 +0100)
commit02379e917b2e187997bdabd290e61ecf0744faaf
tree90ecc736327bbe5a68f50eb5e9e16a2fdfdc1295
parentd188287a54f1bb202e4c16067a6c4cdff4bdfd6c
parent371bd4643587da89ce1bbe7e577f49d9b8acb990
Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix

Stabilize `-Z print-link-args` as `--print link-args`

We have stable options for adding linker arguments; we should have a
stable option to help debug linker arguments.

Add documentation for the new option. In the documentation, make it clear that
the *exact* format of the output is not a stable guarantee.
compiler/rustc_codegen_ssa/src/back/link.rs
compiler/rustc_driver/src/lib.rs
compiler/rustc_interface/src/tests.rs
compiler/rustc_session/src/config.rs
compiler/rustc_session/src/options.rs