# WebAssembly Micro Runtime Code copied from [`bytecodealliance/wasm-micro-runtime#WAMR-2.4.4`](https://github.com/bytecodealliance/wasm-micro-runtime/tree/8c18e3f68b16c4bcaf05996b2636f6ed2b4cf629). ## Custom Platform Instead of using existing platform code, we implemented a minimal platform, stubbing out everything that isn't absolutely necessary. This allows us to tailor the WAMR interpreter such that it has _just_ enough features to run the PICO-8 runtime, while keeping it as easy as possible to port to other systems. As a special note, we explicitly do **not** implement the `invokeNative` as it is ABI and architecture dependent, and WAMR provides `*_raw` variants for native functions that do not rely on platform specific behaviour (at the cost of being less convenient to use). ## Runtime Extensions At the time of writing, there are not facilities for linking external globals, a runtime extension is added to the WAMR code to enable this, since it is needed by the PICO-8 WebAssembly module.