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

Pass CLI arguments such as --offline to cargo metadata #84

Merged
merged 6 commits into from
Nov 12, 2022

Conversation

Shnatsel
Copy link
Member

Fixes #83

I have no evidence that this is even needed; I just based this off the reading of my code.

Cargo does set 25 additional environment variables, so it may be passing this configuration on without us having to explicitly do that; this is something that needs to be double-checked.

@Shnatsel
Copy link
Member Author

There seems to be no env var passing between regular Cargo and cargo-metadata, so this is necessary. Merging.

@Shnatsel Shnatsel merged commit 5b53ddb into master Nov 12, 2022
@Shnatsel Shnatsel deleted the offline-et-al branch November 12, 2022 13:15
@Shnatsel Shnatsel mentioned this pull request Nov 14, 2022
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

Successfully merging this pull request may close these issues.

--offline, --locked, --frozen and --config are not passed to cargo metadata
1 participant