diff --git a/src/doc/src/reference/environment-variables.md b/src/doc/src/reference/environment-variables.md index bfd973a7932..00af923a9e3 100644 --- a/src/doc/src/reference/environment-variables.md +++ b/src/doc/src/reference/environment-variables.md @@ -98,7 +98,7 @@ supported environment variables are: * `CARGO_REGISTRIES__TOKEN` — Authentication token of a registry, see [`registries..token`]. * `CARGO_REGISTRY_DEFAULT` — Default registry for the `--registry` flag, see [`registry.default`]. * `CARGO_REGISTRY_TOKEN` — Authentication token for [crates.io], see [`registry.token`]. -* `CARGO_TARGET__LINKER` — The linker to use, see [`target..linker`]. +* `CARGO_TARGET__LINKER` — The linker to use, see [`target..linker`]. The triple must be [converted to uppercase and underscores](config.md#environment-variables). * `CARGO_TARGET__RUNNER` — The executable runner, see [`target..runner`]. * `CARGO_TARGET__RUSTFLAGS` — Extra `rustc` flags for a target, see [`target..rustflags`]. * `CARGO_TERM_VERBOSE` — The default terminal verbosity, see [`term.verbose`].