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 support for --config flag #105

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

anthonydandrea
Copy link
Contributor

Cargo allows a --config <PATH> flag to merge a Cargo config.toml with the environment during a build. This is particularly helpful for cross-compilation projects which may manage their builds through different config files.

This allows the user to pass a --config /some/path to a config.toml to feed into the cargo build command

@RazrFalcon RazrFalcon merged commit d91b28e into RazrFalcon:master Apr 10, 2024
1 check passed
@RazrFalcon
Copy link
Owner

Thanks!

@anthonydandrea
Copy link
Contributor Author

Thanks for the speedy review!

Any chance the latest could be published to crates.io sometime soon? Looks like it's been awhile, and that'd help me be able to use this change with my normal crates.io-based build system.

@RazrFalcon
Copy link
Owner

Will do on weekends.

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.

None yet

2 participants