Skip to content

Commit e9a6cc7

Browse files
authored
doc: make it clearer that target.<cfg>.linker is supported (#16112)
### What does this PR try to resolve? I have often found myself skimming the "configuration format" section instead of reading the reference in depth, and thus I think it makes sense to have [the `target.<cfg>.linker`](https://doc.rust-lang.org/cargo/reference/config.html#targetcfglinker) configuration key documented there as well. ### How to test and review this PR? Documentation-only.
2 parents 8325770 + d9aaad6 commit e9a6cc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/src/reference/config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ rustflags = ["…", "…"] # custom flags for `rustc`
182182
rustdocflags = ["", ""] # custom flags for `rustdoc`
183183

184184
[target.<cfg>]
185+
linker = "" # linker to use
185186
runner = "" # wrapper to run executables
186187
rustflags = ["", ""] # custom flags for `rustc`
187188

0 commit comments

Comments
 (0)