consider making resulting modules `reactor` modules
Opened this issue · 2 comments
zshipko commented
Running a js-pdk plugin with extism-wamr gives a warning:
[15:03:41:772 - 7F54D39B9740]: warning: a module with WASI apis should be either a command or a reactor
We may want to add an _initialize
export to fulfill this expectation
bhelx commented
Can we just add this as an export to the core crate? What do we need to do to accomplish this?
zshipko commented
Yeah we could probably just add an empty _initialize
function. The main blocker is just trying to understand how important this change really is. WAMR is the only runtime that has an issue with it, and even there it's just a warning.