@@ -170,6 +170,12 @@ The valid types of print values are: |
|
|
170 |
170 |
include a diagnostic note that indicates the linker flags to use when |
171 |
171 |
linking the resulting static library. The note starts with the text |
172 |
172 |
`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. |
173 |
179 |
|
174 |
180 |
[conditional compilation]: ../reference/conditional-compilation.html |
175 |
181 |
|