I am writing WAT code (WASM text format) and compile this code with wat2wasm from the wabt toolset to generate a binary module.
I'm trying to find ways to write test code for this module in a higher level language (preferably not JS). So I was aondering if there is a way to write test code for this module in Rust, compile the test code in WASM, link it with the wasm module to be tested. All this with Rust and Rust tools.
@vmedea, thank you for the tip. I'm going to give it a try. In the meantime I also discovered that wasmer in addition to being a fast runtime offers APIs in a variety of languages (Go, Ruby, ...) and you can litterally drive the WASM VM from outside the box. Very handy to build a test frame work.