wasmer-js
wasmer-js copied to clipboard
Allow for custom entry points
Standard behaviour of WASI + Wasmer is to execute the _start function. (Which is according the standard). However we have a use-case where we want to execute a custom exported function that utilizes WASI. An alternative is to do it through arguments and branch off but we don't want to mess with the standard behaviour of the application itself too much.