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

Update binaries with features #211

Closed
simonsan opened this issue Dec 6, 2022 · 5 comments
Closed

Update binaries with features #211

simonsan opened this issue Dec 6, 2022 · 5 comments
Labels

Comments

@simonsan
Copy link

simonsan commented Dec 6, 2022

I have a few binaries (e.g. arti (Tor) that need to be built with features enabled. In case of arti it's static building SQLite with a feature flag.

Not sure if this is an upstream issue, as I don't think cargo install is saving the features somewhere that were used when installing?

cargo-update could circumvent that if I could map it by myself in a, e.g. toml file that is used for lookup when running cargo install-update.

@nabijaczleweli
Copy link
Owner

nabijaczleweli commented Dec 6, 2022

And, indeed, it does circumvent it, in exactly the manner you described – cargo-install-update-config to inspect, and -f set features, per manual, or, indeed, edit the toml manually.

@simonsan
Copy link
Author

simonsan commented Dec 6, 2022

Woah, it's existing? :o

I didn't know that, sorry! Thanks for telling me! 👍🏽

@ModProg
Copy link

ModProg commented Sep 14, 2023

Maybe it would make sense to mention this in just one line in the README? I also didn't know this and found it via issues.

Though I admit, I had only needed to look at the documentation, but I didn't because I didn't think there was any configuration at all.

@nabijaczleweli
Copy link
Owner

Sure: 70ac014

@simonsan
Copy link
Author

Nice, thank you! Probably much more visible to newcomers like this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants