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

GHC 9.6, Wasm, and GHCJS #2024

Open
dhess opened this issue Aug 16, 2023 · 7 comments
Open

GHC 9.6, Wasm, and GHCJS #2024

dhess opened this issue Aug 16, 2023 · 7 comments
Labels
preserved Keep stale bot away

Comments

@dhess
Copy link
Contributor

dhess commented Aug 16, 2023

Hi! We've just about managed to get our haskell.nix project building with GHC 9.6.2, and now we'd like to build a Wasm target, or at least GHCJS.

From what I can tell, there's no support for cross-compiling to the 9.6 wasm32-wasi "triple." Is there a plan for that?

And for GHCJS, does one use the documented p.projectCross.ghcjs.hsPkgs magic and it will do the right thing with GHC 9.6.2, or does the existing projectCross GHCJS support only work with the old standalone GHCJS compilers?

Copy link

stale bot commented Dec 14, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 14, 2023
@dhess
Copy link
Contributor Author

dhess commented Dec 14, 2023

Bump. Any imminent plans for this?

@stale stale bot removed the wontfix label Dec 14, 2023
Copy link

stale bot commented Apr 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 12, 2024
@angerman
Copy link
Collaborator

angerman commented Apr 12, 2024

This will likely happen once we e fixed all the windows issues and are able to update nixpkgs pins again.

Nixpkgs update to binutils 2.36+ (and now the inability to still use 2.35 trivially) has thrown in a pretty bad wrench 😒

(Same with adding the riscv backend).

@dhess
Copy link
Contributor Author

dhess commented Apr 13, 2024

We're using https://gitlab.haskell.org/ghc/ghc-wasm-meta/ to build our Wasm targets for now. It's nice that it provides a flake for the compiler and tools, but obviously we'd like to take advantage of the haskell.nix ecosystem, as well.

@hamishmack hamishmack added the preserved Keep stale bot away label May 14, 2024
@stale stale bot removed the wontfix label May 14, 2024
@dhess
Copy link
Contributor Author

dhess commented Jul 12, 2024

Any plans to implement this once #2156 is merged?

@ss-twieland
Copy link

Hi. I just stumbled upon this now. It seems that the PR above has been merged. I'm also targeting WASM and would like support for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preserved Keep stale bot away
Projects
None yet
Development

No branches or pull requests

4 participants