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

cargo-apk: Upgrade to cargo-subcommand 0.7.0 for [env] support #249

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

MarijnS95
Copy link
Member

Environment variables can be set and override the process environment through .cargo/config.toml's [env] section: https://doc.rust-lang.org/cargo/reference/config.html#env

These config variables have specific precedence rules with regards to overriding the environment set in the process, and can optionally represent paths relative to the parent of the containing .cargo/ folder. The entire handling of these variables is implemented in rust-mobile/cargo-subcommand#12 and rust-mobile/cargo-subcommand#16 which immediately populate the process environment with these variables when Subcommand::new() is called by cargo-apk.

Environment variables can be set and override the process environment
through `.cargo/config.toml`'s `[env]` section:
https://doc.rust-lang.org/cargo/reference/config.html#env

These config variables have specific precedence rules with regards to
overriding the environment set in the process, and can optionally
represent paths relative to the parent of the containing `.cargo/`
folder.  The entire handling of these variables is implemented in
rust-mobile/cargo-subcommand#12 and
rust-mobile/cargo-subcommand#16 which immediately
populate the process environment with these variables when
`Subcommand::new()` is called by `cargo-apk`.
@MarijnS95 MarijnS95 requested review from dvc94ch and msiglreith March 24, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants