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

fix: cargo release by adding help feature to clap dependency #288

Closed
wants to merge 1 commit into from

Conversation

greenhat
Copy link
Contributor

Since cargo build seems to ignore default-features on the workspace level and enables default features for inherited dependencies. cargo release OTOH seems to behave correctly and does not ignore default-features on the workspace level, and the build fails due to Command::help_template is hidden behind the help feature.

This PR fixes the https://github.com/0xPolygonMiden/compiler/actions/runs/10604566214/job/29391504068 build error during the cargo release

since `cargo build` seems ignore `default-features` on the workspace level
and enables default features for inherited dependencies. `cargo release`
OTOH seems to behave correctly and does not ignore `default-features` on
the workspace level and the build fails due to `Command::help_template`
is hidden behind the `help` feature.
@greenhat greenhat marked this pull request as draft August 29, 2024 07:16
@greenhat
Copy link
Contributor Author

Close in favor of #289

@greenhat greenhat closed this Aug 29, 2024
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.

1 participant