<p>Wasm question</p><p>I was given <a href="https://hachyderm.io/@unlambda/114582671790895240" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">hachyderm.io/@unlambda/1145826</span><span class="invisible">71790895240</span></a> as some example code for printing to stdout from inside wasmtime/WASI</p><p>It calls a function named "fd_write" taken from "wasi_snapshot_preview1"</p><p>"wasi_snapshot_preview1" does not Google well and one link <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/WebAssembly/WASI/bl</span><span class="invisible">ob/main/legacy/preview1/docs.md</span></a> seems to suggest this is deprecated. How were the functions in wasi_snapshot_preview1 chosen? Is there a wasi_snapshot_preview2 or whatever?</p>