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

Why does cargo-web download emscripten and binaryen even though I have them installed? #27

Closed
svenstaro opened this issue Dec 28, 2017 · 2 comments

Comments

@svenstaro
Copy link

Basically see title. I'm using Arch Linux and have emscripten and binaryen installed and working using provided packages but cargo-web still tries to download these. Can't it use system packages?

@koute
Copy link
Owner

koute commented Dec 28, 2017

It can, if you pass it the --use-system-emscripten flag. By default it always downloads Emscripten for consistency's sake across multiple distributions.

I would definitely be willing to add a feature flag which would flip this default to be the other way around.

@svenstaro
Copy link
Author

Thank you, I didn't see that flag!

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

No branches or pull requests

2 participants