-
Notifications
You must be signed in to change notification settings - Fork 86
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
Make compatible with new GHC JS backend #335
base: master
Are you sure you want to change the base?
Conversation
sevanspowell
commented
May 11, 2024
- We need to make a few changes to compile cborg with the new GHC Javascript backend.
- Tested with GHC 9.8.2.
Signed-off-by: Samuel Evans-Powell <[email protected]>
Is there any way we can add GHCJS to the CI? |
Good question, I will have a look! 👍 |
It seems using the new GHC Javascript backend is not yet possible using |
Signed-off-by: Samuel Evans-Powell <[email protected]>
I am attempting to use ghcup to build the javascript backend, but unfortunately the instructions in the user guide don't work (https://www.haskell.org/ghcup/guide/#ghc-js-cross-bindists-experimental). So far I've had limited success with:
Failing with an issue regarding word size:
I'll get back to this when I can. |
Had success building with ghcup!
I needed to:
So it is possible to build with ghcup, so it should be possible to submit a PR to |