-
Notifications
You must be signed in to change notification settings - Fork 148
validate: could not validate a simple program #36
Comments
Could you give me the |
it's there: https://cern.ch/binet/wasm/a.wasm |
From the wasm Go fork, I observed that node uses this file to define some runtime functions: https://github.com/neelance/go/blob/wasm-wip/misc/wasm/wasm_exec.js With wagon, they aren't getting defined, which is what might be causing the issue. I'll take a look at this anyway. |
perhaps needs #40 |
ping @vibhavp ? Robert's work (bringing |
Sorry for forgetting about this. I took another stab at my PR today, and
was able to narrow it down to the value of `NewStack.StackTopDiff` somehow
changing while compiling Else blocks. I'll further investigate tomorrow,
and try coming up with a fix soon.
…On Tue 3 Apr, 2018, 6:46 PM Sebastien Binet, ***@***.***> wrote:
ping @vibhavp <https://github.com/vibhavp> ?
Robert's work (bringing GOARCH=wasm to the official gc toolchain) is
starting to percolate.
it would be great to have this working for Go-1.11.x :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACCymKjkuXH-Mv7RhgYEoWLF1gM9Ym34ks5tk3Y-gaJpZM4Qtahj>
.
|
ping @vibhavp ? :) |
I have the same problem. |
I don't see any Else blocks in the |
trying to validate a simple program:
compiled with
GOOS=js GOARCH=wasm
and the gc compiler from neelance go-wasm-wip, I get:running
WebAssembly.validate
(from my chromium browser) did not raise anything.@vibhavp any idea?
The text was updated successfully, but these errors were encountered: