4 ms·
I just created a code snippet in C [1] which prints hello world by using the (bare-metal) WASI interface. No headers included. The compiled wasm file works with
by s-macke 7y ago
I just created a code snippet in C [1] which prints hello world by using the (bare-metal) WASI interface. No headers included. The compiled wasm file works with wasmer, lucet, wasmtime and an web implementation of WASI [2]
[1] https://gist.github.com/s-macke/6dd78c78be46214d418454abb667a1ba https://gist.github.com/s-macke/6dd78c78be46214d418454abb667...
[2] https://wasi.dev/polyfill/ https://wasi.dev/polyfill/