Closed Mossaka closed 6 months ago
I was exploring the run implementation in wasmtime cli and found out that there is a special logic that handles the reactor mode of the wasm modules in https://github.com/bytecodealliance/wasmtime/blob/main/src/commands/run.rs#L423-L427
run
Specifically it invokes the _initialize function instead of the _start function.
_initialize
_start
Since we are defaulting the invocation to _start function, I am wondering if the wasmtime shim is able to handle the reactor wasm modules wel..
As a workaround, we can handle this in the ENTRYPOINT in the dockerfile.
I was exploring the
run
implementation in wasmtime cli and found out that there is a special logic that handles the reactor mode of the wasm modules in https://github.com/bytecodealliance/wasmtime/blob/main/src/commands/run.rs#L423-L427Specifically it invokes the
_initialize
function instead of the_start
function.Since we are defaulting the invocation to _start function, I am wondering if the wasmtime shim is able to handle the reactor wasm modules wel..