diff --git a/src/doc/src/reference/config.md b/src/doc/src/reference/config.md index d1f2b04d35e4..3a21039b5ba1 100644 --- a/src/doc/src/reference/config.md +++ b/src/doc/src/reference/config.md @@ -1098,6 +1098,12 @@ This option is deprecated and unused. Specifies the linker which is passed to `rustc` (via [`-C linker`]) when the [``] is being compiled for. By default, the linker is not overridden. +##### `target..linker` +This is similar to the [target linker](#targettriplelinker), but using +a [`cfg()` expression]. If both a [``] and `` runner match, +the `` will take precedence. It is an error if more than one +`` runner matches the current target. + ##### `target..runner` * Type: string or array of strings ([program path with args]) * Default: none