Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/cargo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ddab3e4d64df4ebd272e5faeefd10168360bf245
Choose a base ref
..
head repository: rust-lang/cargo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7c2acdbfa329c657bed337f282b313a346bbb16e
Choose a head ref
Showing with 3 additions and 8 deletions.
  1. +2 −6 src/doc/src/reference/config.md
  2. +1 −2 src/doc/src/reference/environment-variables.md
8 changes: 2 additions & 6 deletions src/doc/src/reference/config.md
Original file line number Diff line number Diff line change
@@ -191,12 +191,8 @@ variable.
Environment variables will take precedence over TOML configuration files.
Currently only integer, boolean, string and some array values are supported to
be defined by environment variables. [Descriptions below](#configuration-keys)
indicate which keys support environment variables. Note that only with explicitly
showing **"Environment: `ENV_VAR`"** a configuration value can be set in the
form of environment variable. Those showing **"Environment: not supported"** or
missing the entire **"Environment:"** field are not able to set via environment
variables at this moment,
due to [technicial issues](https://github.com/rust-lang/cargo/issues/5416).
indicate which keys support environment variables and otherwise they are not
supported due to [technicial issues](https://github.com/rust-lang/cargo/issues/5416).

In addition to the system above, Cargo recognizes a few other specific
[environment variables][env].
3 changes: 1 addition & 2 deletions src/doc/src/reference/environment-variables.md
Original file line number Diff line number Diff line change
@@ -75,8 +75,7 @@ system:

#### Configuration environment variables

Cargo reads environment variables for configuration values.
Not all configurations can be set in the form of environment variables.
Cargo reads environment variables for some configuration values.
See the [configuration chapter][config-env] for more details.
In summary, the supported environment variables are: