File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,12 @@ The valid types of print values are:
170170 include a diagnostic note that indicates the linker flags to use when
171171 linking the resulting static library. The note starts with the text
172172 ` native-static-libs: ` to make it easier to fetch the output.
173+ - ` link-args ` — This flag does not disable the ` --emit ` step. When linking,
174+ this flag causes ` rustc ` to print the full linker invocation in a
175+ human-readable form. This can be useful when debugging linker options. The
176+ exact format of this debugging output is not a stable guarantee, other than
177+ that it will include the linker executable and the text of each command-line
178+ argument passed to the linker.
173179
174180[ conditional compilation ] : ../reference/conditional-compilation.html
175181
You can’t perform that action at this time.
0 commit comments