<p><span class="h-card" translate="no"><a href="https://toot.cat/@endocrimes" class="u-url mention">@<span>endocrimes</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> Say I&#39;m running some MDN sample code <a href="https://developer.mozilla.org/en-US/docs/WebAssembly/Guides/Understanding_the_text_format#importing_functions_from_javascript" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">developer.mozilla.org/en-US/do</span><span class="invisible">cs/WebAssembly/Guides/Understanding_the_text_format#importing_functions_from_javascript</span></a> which loads and invokes console.log. Neither wasm-interp nor wasmtime are able to locate console.log. What is the most reasonable / most browser-compatible way to print a string from code running in one or either of these programs?</p>
Attached image 0
Reply