It adds methods to get any exported functions from the module.
It adds a struct to wrap the wazero function definition, allowing Extism to control the API, while also exposing some of the behaviors provided by wazero.
It removes the module.wasm bytes from the module struct. It was unused as far as I could tell and I don't see any reason (while it's unused at least) that we wouldn't want the GC to be able to garbage collect that slice, especially when we're dealing with large modules.
This PR does a couple of things:
module
struct.module.wasm
bytes from themodule
struct. It was unused as far as I could tell and I don't see any reason (while it's unused at least) that we wouldn't want the GC to be able to garbage collect that slice, especially when we're dealing with large modules.