Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [env] section to Cargo Reference - Configuration #2665

Closed
flxo opened this issue Mar 24, 2021 · 1 comment
Closed

Add [env] section to Cargo Reference - Configuration #2665

flxo opened this issue Mar 24, 2021 · 1 comment

Comments

@flxo
Copy link

flxo commented Mar 24, 2021

With #9175 a new feature landed in nightly cargo:

An [env] section in the cargo configuration to pass additional env variables to all program invocations does by cargo.

From the PR:

[env]
FOOBAR = "Apple"
PATH_TO_SOME_TOOL = { value = "bin/tool", relative = true }
USERNAME = { value = "test_user", force = true }

This information is missing in the Cargo Reference/Configuration section.

@flxo
Copy link
Author

flxo commented Mar 24, 2021

Sorry - just noticed that the cargo book is hosted here

@flxo flxo closed this as completed Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant