Make compatible with new GHC JS backend#335
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 <mail@sevanspowell.net>
|
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 <mail@sevanspowell.net>
|
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 |