Cargo config reference should more clearly explain mapping complex keys to environment variable names #7610
Labels
A-documenting-cargo-itself
Area: Cargo's documentation
A-environment-variables
Area: environment variables
C-bug
Category: bug
Problem
The cargo config reference page says this:
This is correct, and the simple example is useful. However, the transformation of non-alphanumeric characters is not documented and it isn't obvious how to map a more complex config parameter such as:
to an environment variable. I tried many combinations unsuccessfully until I eventually found an old issue asking about the same problem:
Possible Solution(s)
I suggest expanding on the docs to give a complex example such as:
I hope this helps the next person who stumbles across the need to set these values via the environment.
The text was updated successfully, but these errors were encountered: