- You need docker desktop to use this repository
- In VS Code open
Remote-Container: Open folder in Container
to start a development enviroment which allows to compile V lang to WASM
$ ./build_wasm.sh hello
$ wasmtime dist/hello.wasm
not working
compile with DWARF info:
$ ./build_wasm.sh hello -g
open in debugger:
lldb-11 -- wasmtime -g dist/hello.wasm
references:
build_wasm.sh
andwasm_include
is based on work done by https://github.com/zamfofex/v-wasm