Skip to content

Commit

Permalink
fixup! cli: allow running wasm in limited vmemory with --disable-wasm…
Browse files Browse the repository at this point in the history
…-trap-handler
  • Loading branch information
joyeecheung committed May 1, 2024
1 parent e607b72 commit 1fd36c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ RangeError: WebAssembly.Memory(): could not allocate memory
```

`--disable-wasm-trap-handler` disables this optimization so that
users can at least run WebAssembly (with a less optimial performance)
users can at least run WebAssembly (with less optimal performance)
when the virtual memory address space available to their Node.js
process is lower than what the V8 WebAssembly memory cage needs.

Expand Down
2 changes: 1 addition & 1 deletion test/wasm-allocation/wasm-allocation.status
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ prefix wasm-allocation

[true] # This section applies to all platforms

[$system!=linux]
[$system!=linux||$asan==on]
test-wasm-allocation: SKIP

0 comments on commit 1fd36c3

Please sign in to comment.