Add Observe SDK support
Opened this issue · 2 comments
bhelx commented
This is different than extism/extism#470
Because we don't rely on libextism in this library, I believe we should be able to add Observe support independently.
neuronicnobody commented
Wait for Observe SDK breaking changes to land . Ping @chrisdickinson
chrisdickinson commented
In order to accomplish this, we need to:
- Add a stage "between"
createPlugin -> plugin
andplugin.call()
where the module is compiled but not instantiated - Add a plugin method for accessing
WebAssembly.Module.customSections()
for a sub-module of a plugin. - Maybe add a
PluginOptions
hook forpreinstantiate
so the observe-sdk can intercept the module's customdata / exports before the module is instantiated (& optionally add additional host functions?)