Skip to content

aheissenberger/vlang-wasm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Compile from V lang to WASM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published