-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to build other packages for wasm32? #17
Comments
I opened another issue in jsaddle-wasm, which I believe will help me resolve this. |
Hey, thanks for opening the issue! In your concrete case, the problem is that One solution for this specific case is to simply change source-repository-package
type: git
location: https://github.com/amesgen/entropy
tag: 98dd0cf23355a1f87af14c10098b9545605ac556 Hope that helps!
Yeah, that sounds nice; here a (probably non-exhaustive) list of some of the things that can cause a package to not compile via the WASM backend:
Also, in case you are interested, feel free to join the GHC WASM Matrix channel: https://matrix.to/#/#haskell-wasm:matrix.terrorjack.com |
Trying to add some dependencies to the project (entropy package specifically), but I am running into problems, which I assume stem from building for wasm32 architecture.
I wonder if there's any generic "step-by-step" of how to update a package for it to compile to wasm32 without issues?
The text was updated successfully, but these errors were encountered: