diff options
author | Cheng Shao <terrorjack@type.dance> | 2023-01-25 20:02:45 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2023-02-02 09:40:38 +0000 |
commit | 1ffe770c8d8c5c42edcf1558242f39431f72b965 (patch) | |
tree | 40be65f60618b1c413ff3add41b1febe29f5a985 /docs/users_guide | |
parent | 394b91ce859653231813fb9af77c26664063c1b6 (diff) | |
download | haskell-1ffe770c8d8c5c42edcf1558242f39431f72b965.tar.gz |
docs: 9.6 release notes for wasm backend
Diffstat (limited to 'docs/users_guide')
-rw-r--r-- | docs/users_guide/9.6.1-notes.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/users_guide/9.6.1-notes.rst b/docs/users_guide/9.6.1-notes.rst index f0961348f3..56e0e42faf 100644 --- a/docs/users_guide/9.6.1-notes.rst +++ b/docs/users_guide/9.6.1-notes.rst @@ -90,6 +90,22 @@ Language Compiler ~~~~~~~~ +- The `WebAssembly backend + <https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc>`_ + has been merged. This allows GHC to be built as a cross-compiler + that targets ``wasm32-wasi`` and compiles Haskell code to + self-contained WebAssembly modules that can be executed on a variety + of different runtimes. There are a few caveats to be aware of: + + - To use the WebAssembly backend, one would need to follow the + instructions on `ghc-wasm-meta + <https://gitlab.haskell.org/ghc/ghc-wasm-meta>`_. The WebAssembly + backend is not included in the GHC release bindists for the time + being, nor is it supported by ``ghcup`` or ``stack`` yet. + - The WebAssembly backend is still under active development. It's + presented in this GHC version as a technology preview, bugs and + missing features are expected. + - The :extension:`TypeInType` is now marked as deprecated. Its meaning has been included in :extension:`PolyKinds` and :extension:`DataKinds`. |