Skip to content

Commit 0d377b6

Browse files
committed
Auto merge of #5443 - rtsuk:update-doc-env-var, r=alexcrichton
Update documentation on config via environment variables Use source replacement as a specific example of the kind of configuration feature that cannot currently be set by environmental variables.
2 parents 4963d88 + ce8fd49 commit 0d377b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/src/reference/config.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,11 @@ example the `build.jobs` key can also be defined by `CARGO_BUILD_JOBS`.
133133

134134
Environment variables will take precedent over TOML configuration, and currently
135135
only integer, boolean, and string keys are supported to be defined by
136-
environment variables.
136+
environment variables. This means that [source replacement][source], which is expressed by
137+
tables, cannot be configured through environment variables.
137138

138139
In addition to the system above, Cargo recognizes a few other specific
139140
[environment variables][env].
140141

141142
[env]: reference/environment-variables.html
143+
[source]: (reference/source-replacement.html)

0 commit comments

Comments
 (0)