Skip to content

Commit

Permalink
add notice about nodejs execution (#124)
Browse files Browse the repository at this point in the history
Signed-off-by: Xu Jun <[email protected]>
  • Loading branch information
xujuntwt95329 authored Dec 21, 2023
1 parent 51980ac commit 04bea5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/validate/run_module_on_node/run_module_on_node.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This document describes how to execute WASM module on Node.js.

> Note: Wasmnizer-ts follows the latest WasmGC spec, which requires `V8 v11.9+`, but the latest nodejs (v21.5.0) is using `V8 11.8.172.17`, so currently the generated WASM module can't execute on any nodejs releases.
> If you do want to try on nodejs, you can reset to commit `94cf9929421d47a9976fa6edf74b25ef2a00ee12` to build the compiler, which is compatible to older V8 versions.
## Prerequisites
- node.js version 20.0.0 or higher

Expand Down

0 comments on commit 04bea5f

Please sign in to comment.