Open ossy-szeged opened 8 years ago
In V8 we've recently renamed the WASMEXP object to simply "Wasm".
This is already updated in sexpr-wasm-prototype, so maybe just wasm-e2e needs to be updated.
Ah, wasm-e2e uses fixed binaryen and sexpr-wasm-prototype revision with trunk v8. It isn't good at all. I tried to use trunk binaryen and sexpr-wasm-prototype too, but didn't manage to get a working version.
Is it documented anywhere which revisions of these tools are compatible with each other?
wasm-e2e hasn't really been updated in a while. If you want to test integration between v8, sexpr-wasm, binaryen, emscripten, and LLVM, it might be easier to try the continuous build waterfall script at https://github.com/WebAssembly/waterfall which does something similar.
Yeah, maybe we should remove this repo? No one is updating it, and it is confusing when people find it and nothing works.
I'm not a fan of deleting things from the Internet. I'd rather have a warning :)
$ scripts/run.py test/fizzbuzz.c /home/oszi/wasm/wasm-e2e/test/wasm.js:46: ReferenceError: WASMEXP is not defined m = WASMEXP.instantiateModule(readbuffer(arguments[0]), ffi); ^ ReferenceError: WASMEXP is not defined at /home/oszi/wasm/wasm-e2e/test/wasm.js:46:5