[Git][ghc/ghc][master] docs: 9.6 release notes for wasm backend

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Feb 2 16:39:38 UTC 2023



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
1ffe770c by Cheng Shao at 2023-02-02T09:40:38+00:00
docs: 9.6 release notes for wasm backend

- - - - -


1 changed file:

- docs/users_guide/9.6.1-notes.rst


Changes:

=====================================
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`.
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1ffe770c8d8c5c42edcf1558242f39431f72b965

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1ffe770c8d8c5c42edcf1558242f39431f72b965
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230202/7fa19ee1/attachment-0001.html>


More information about the ghc-commits mailing list