summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2023-01-25 20:02:45 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2023-02-02 09:40:38 +0000
commit1ffe770c8d8c5c42edcf1558242f39431f72b965 (patch)
tree40be65f60618b1c413ff3add41b1febe29f5a985
parent394b91ce859653231813fb9af77c26664063c1b6 (diff)
downloadhaskell-1ffe770c8d8c5c42edcf1558242f39431f72b965.tar.gz
docs: 9.6 release notes for wasm backend
-rw-r--r--docs/users_guide/9.6.1-notes.rst16
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`.