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

FR: An option to disable some of cargo binstall's strategies #264

Closed
ilyagr opened this issue Jul 21, 2024 · 1 comment
Closed

FR: An option to disable some of cargo binstall's strategies #264

ilyagr opened this issue Jul 21, 2024 · 1 comment
Labels

Comments

@ilyagr
Copy link

ilyagr commented Jul 21, 2024

I've had some occasional problems with Quickinstall (cargo-bins/cargo-quickinstall#250, cargo-bins/cargo-quickinstall#255). I'd like there to be an option to pass --disable-strategies quick-install to cargo binstall when called from cargo install-update.

A workaround is to set the option with an environment variable:

BINSTALL_STRATEGIES=cargo-meta-data,compile cargo install-update

I haven't tested it yet, but I believe it should work.

@nabijaczleweli
Copy link
Owner

If only cargo-meta-data and compile work for you then you should specify that exactly as you noted, yeah. Not sure what more cargo-install could do here.

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

2 participants