Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/928'
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Nov 13, 2023
2 parents 0eba225 + 2df59fd commit dee5444
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,9 @@ libraries, this may need some tweaking of `build.mk` or configure args.
See `ghcup compile ghc --help` for further information.

Since ghcup version 0.1.20.0, we provide cross bindists for GHC JS and WASM. These can be installed conveniently.
However, these are intended as a developer preview only. By using these GHC variants, you are implicitly signing up to participate in GHC development!
If you run into bugs or missing behavior, join the dev chat at https://matrix.to/#/#GHC:matrix.org.

First, add the cross release channel:

```sh
Expand All @@ -516,7 +519,7 @@ ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup

The next sections explain how to install each cross bindist.

### GHC JS cross bindists
### GHC JS cross bindists (experimental)

You need the required emscripten JS toolchain:

Expand Down Expand Up @@ -546,7 +549,7 @@ javascript-unknown-ghcjs-ghc -fforce-recomp hello.hs

You can follow the instructions [here](https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend/building#compiling-hello-world).

### GHC WASM cross bindists
### GHC WASM cross bindists (experimental)

You need the required wasm toolchain:

Expand Down

0 comments on commit dee5444

Please sign in to comment.