You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2020. It is now read-only.
Hello, I'm trying to compile and run a simple program from GO to WASM and execute the VM with wagon, but I'm stuck at stack underflow. Any idea?
Code (helloworld.go):
Compile (With golang beta, go1.11beta1):
GOARCH=wasm GOOS=js go1.11beta1 build -o test.wasm helloworld.goRunning (wagon functions, latest version) :
https://gist.github.com/valvesss/c3ac06a597bf25d466271275dd478fb3
Result:
could not create VM: disasm: stack underflow