Skip to content

Commit 13ae438

Browse files
committed
Auto merge of #11139 - weihanglo:issue/11041, r=epage
Call out that not all config values can be set via env vars
2 parents 254cf2f + 7c2acdb commit 13ae438

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/doc/src/reference/config.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ variable.
190190

191191
Environment variables will take precedence over TOML configuration files.
192192
Currently only integer, boolean, string and some array values are supported to
193-
be defined by environment variables. Descriptions below indicate which keys
194-
support environment variables.
193+
be defined by environment variables. [Descriptions below](#configuration-keys)
194+
indicate which keys support environment variables and otherwise they are not
195+
supported due to [technicial issues](https://github.com/rust-lang/cargo/issues/5416).
195196

196197
In addition to the system above, Cargo recognizes a few other specific
197198
[environment variables][env].

src/doc/src/reference/environment-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ system:
7575

7676
#### Configuration environment variables
7777

78-
Cargo reads environment variables for configuration values. See the
79-
[configuration chapter][config-env] for more details. In summary, the
80-
supported environment variables are:
78+
Cargo reads environment variables for some configuration values.
79+
See the [configuration chapter][config-env] for more details.
80+
In summary, the supported environment variables are:
8181

8282
* `CARGO_ALIAS_<name>` — Command aliases, see [`alias`].
8383
* `CARGO_BUILD_JOBS` — Number of parallel jobs, see [`build.jobs`].

0 commit comments

Comments
 (0)