Skip to content

fix: Add --locked to cargo install to support lower rust versions #1499

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

corneliusroemer
Copy link

Resolves #1498

Add --locked to the invocation of cargo install as some dependencies with MSRV of 1.81 otherwise make wasm-pack not work on rust<=1.80 unless one has manually installed wasm-bindgen-cli.

An alternative to adding --locked would be to print an error message that suggests manually installing wasm-bindgen-cli with cargo install wasm-bindgen-cli --locked.

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