lengyijun
2/23/2019 - 7:05 AM

wasm-helloworld.md

docker run -it -v /home/sjtu-lyj/src/wasm-jit-prototype/workspace:/workspace perspective/emsdk 
docker run -it -v /home/sjtu-lyj/src/wasm-jit-prototype/workspace:/workspace wasm-jit-prototype

download hello.c

in emsdk

emcc hello.c 

in wasm-jit-prototype

wavm-disas a.out.wasm hello.wast
wavm-run   hello.wast