You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDING_WASM.md
-22Lines changed: 0 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,3 @@
5
5
3. In the project root, run `cp cabal.project{.wasm32,}`, and then `wasm32-wasi-cabal build`.
6
6
7
7
Note: This project uses a hybrid approach - most dependencies use cabal's git handling, but the network package remains as a git submodule due to autotools requirements.
8
-
9
-
The process might output the following:
10
-
11
-
```
12
-
[442 of 452] Compiling Language.LSP.Protocol.Message.Types ( src/Language/LSP/Protocol/Message/Types.hs, /home/qbane/agda-project/haskell-lsp-wasm/dist-newstyle/build/wasm32-wasi/ghc-9.10.1.20250207/lsp-types-2.3.0.1/build/Language/LSP/Protocol/Message/Types.o, /home/qbane/agda-project/haskell-lsp-wasm/dist-newstyle/build/wasm32-wasi/ghc-9.10.1.20250207/lsp-types-2.3.0.1/build/Language/LSP/Protocol/Message/Types.dyn_o )
13
-
14
-
wasm://wasm/001e3c92:1
15
-
16
-
17
-
RuntimeError: table index is out of bounds
18
-
at wasm://wasm/001e3c92:wasm-function[586]:0x45e40
19
-
at wasm://wasm/001e3c92:wasm-function[365]:0x286e1
20
-
at wasm://wasm/001e3c92:wasm-function[595]:0x46135
21
-
at process.processImmediate (node:internal/timers:491:21)
22
-
23
-
Node.js v22.14.0
24
-
```
25
-
26
-
At this moment, you should terminate the process and run it again.
27
-
This is a known issue ([ghc#26106](https://gitlab.haskell.org/ghc/ghc/-/issues/26106)). If this does *not* occur to you or you can fix it, please report to that issue.
28
-
29
-
If everything works properly, it should build a binary `als.wasm`.
0 commit comments