Commit 6960c15
committed
fix: disable wasm highlighter on riscv64
riscv64 with sv39 has limited virtual memory space, where creating
too many (>=20) wasm memory instances fails.
See nodejs/node#60591 for more details.
This PR fixes the following error encountered during `make test-only`
on riscv64:
[07:02:55.797] ERROR: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instancemake[1]: *** [Makefile:392: test/addons/.docbuildstamp] Error 1
make: *** [Makefile:352: test-only] Error 2
Signed-off-by: Levi Zim <[email protected]>1 parent 9122dbe commit 6960c15
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
0 commit comments