File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,13 @@ variable.
190
190
191
191
Environment variables will take precedence over TOML configuration files.
192
192
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. Note that only with explicitly
195
+ showing ** "Environment: ` ENV_VAR ` "** a configuration value can be set in the
196
+ form of environment variable. Those showing ** "Environment: not supported"** or
197
+ missing the entire ** "Environment:"** field are not able to set via environment
198
+ variables at this moment,
199
+ due to [ technicial issues] ( https://github.com/rust-lang/cargo/issues/5416 ) .
195
200
196
201
In addition to the system above, Cargo recognizes a few other specific
197
202
[ environment variables] [ env ] .
Original file line number Diff line number Diff line change @@ -75,9 +75,10 @@ system:
75
75
76
76
#### Configuration environment variables
77
77
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 configuration values.
79
+ Not all configurations can be set in the form of environment variables.
80
+ See the [ configuration chapter] [ config-env ] for more details.
81
+ In summary, the supported environment variables are:
81
82
82
83
* ` CARGO_ALIAS_<name> ` — Command aliases, see [ ` alias ` ] .
83
84
* ` CARGO_BUILD_JOBS ` — Number of parallel jobs, see [ ` build.jobs ` ] .
You can’t perform that action at this time.
0 commit comments