File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1098,6 +1098,17 @@ This option is deprecated and unused.
10981098Specifies the linker which is passed to ` rustc ` (via [ ` -C linker ` ] ) when the
10991099[ ` <triple> ` ] is being compiled for. By default, the linker is not overridden.
11001100
1101+ ##### ` target.<cfg>.linker `
1102+ This is similar to the [ target linker] ( #targettriplelinker ) , but using
1103+ a [ ` cfg() ` expression] .
1104+
1105+ The config precedence is:
1106+ 1 . ` host.<triple>.linker ` , if [ host-config] ( unstable.md#host-config ) is enabled.
1107+ 2 . ` target.<triple>.linker `
1108+ 3 . ` target.<cfg>.linker `
1109+
1110+ It is an error if more than one ` <cfg> ` runner matches the current target.
1111+
11011112##### ` target.<triple>.runner `
11021113* Type: string or array of strings ([ program path with args] )
11031114* Default: none
You can’t perform that action at this time.
0 commit comments