3 ms·
One tip for the author from another one, the spec-test contains various weird forms of textual wasm that isn't obvious how to compile but the wast2json converte
by whizzter 2y ago
One tip for the author from another one, the spec-test contains various weird forms of textual wasm that isn't obvious how to compile but the wast2json converter can produce a simpler JSON desc accompanies by regular binary wasm files.
- bhelx 2y agoSame tip here. We did this with Chicory: https://github.com/dylibso/chicory https://github.com/dylibso/chicory I'd follow on that, the earlier you can get this test-suite running the better for the iteration speed and correctness of your project. It took a bit of time to make everything work, but once we did, we very quickly got to the point of running anything. The test-suite is certainly incomplete but gets you 95% there: https://github.com/WebAssembly/testsuite https://github.com/WebAssembly/testsuite
- _cogg 2y agoThank you! Not the author, but I'm also building a compiler. I've stumbled across these tests before and mostly just been irritated and confused about what to do with them.