gingerBill 5a6d5374d7 Update WebGL procedures to `contextless` calling convention 2 anos atrás
..
WebGL 5a6d5374d7 Update WebGL procedures to `contextless` calling convention 2 anos atrás
js 4a75a1e839 Merge branch 'master' into separate-int-word-sizes 2 anos atrás
README.md 9e376fbda7 Update README.md 3 anos atrás

README.md

WASM on the Web

This directory is for use when targeting the js_wasm32 target and the packages that rely on it.

The js_wasm32 target assumes that the WASM output will be ran within a web browser rather than a standalone VM. In the VM cases, either wasi_wasm32 or freestanding_wasm32 should be used accordingly.

Example for js_wasm32

<!-- Copy `vendor:wasm/js/runtime.js` into your web server -->
<script type="text/javascript" src="runtime.js"></script>
<script type="text/javascript">
	odin.runWasm(pathToWasm, consolePreElement);
</script>