This is the result of running qbe's mandel.ssa from its test suite.
qbe-wasm does not have wasi support, so this demo rolls its own putchar.
qbe-wasm -o mandel.wasm mandel.ssa qbe-wasm -t wat -o mandel.wat mandel.ssa