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

adds curl/static-curl feature to wasm-pack install #305

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

Conversation

auyer
Copy link

@auyer auyer commented Apr 10, 2023

fixes #304

Worker-rs installs a version of wasm-pack that can be incompatible with some systems due to curl or libc incompatibilities. Installing it with this feature enabled solves this issue.

This can be done manually: cargo install wasm-pack --features curl/static-curl

I am not sure this should be merged.
This feature makes so curl gets statically linked in the wasm-pack binary. It is unlikely that it would cause issues on other machines.
Also, it will not overwrite wasm-pack if it is installed already.

fixes cloudflare#304

wasm-pack will exit with core dumped on some machines because of libc or curl compatibility issues.
This feature solves it.
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.

[BUG] Default installation leads to wasm-pack exits with core dumped
1 participant