We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
target.<cfg>.linker
1 parent 7cbc858 commit c9cc3b9Copy full SHA for c9cc3b9
src/doc/src/reference/config.md
@@ -1098,6 +1098,12 @@ This option is deprecated and unused.
1098
Specifies the linker which is passed to `rustc` (via [`-C linker`]) when the
1099
[`<triple>`] is being compiled for. By default, the linker is not overridden.
1100
1101
+##### `target.<cfg>.linker`
1102
+This is similar to the [target linker](#targettriplelinker), but using
1103
+a [`cfg()` expression]. If both a [`<triple>`] and `<cfg>` runner match,
1104
+the `<triple>` will take precedence. It is an error if more than one
1105
+`<cfg>` runner matches the current target.
1106
+
1107
##### `target.<triple>.runner`
1108
* Type: string or array of strings ([program path with args])
1109
* Default: none
0 commit comments