Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 627 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 627 Bytes

V lang WASM Example

setup

  1. You need docker desktop to use this repository
  2. In VS Code open Remote-Container: Open folder in Container to start a development enviroment which allows to compile V lang to WASM

compile

$ ./build_wasm.sh hello

run wasm

$ wasmtime dist/hello.wasm

Debugging

not working

compile with DWARF info: $ ./build_wasm.sh hello -g

open in debugger: lldb-11 -- wasmtime -g dist/hello.wasm

references:

Notes