wasm_plugin
wasm_plugin copied to clipboard
Update to Wasmer 3.x
I updated this to wasmer 3.x while I was trying to debug a panic I was getting.
The only differences in the public API are:
-
call_function
andcall_function_with_argument
now both take&mut self
(call_function_with_argument
was&self
before for some reason). -
import_function_with_context
andimport_function
both require the function to beSync
now
Otherwise the changes are mainly just passing Store
references around more and updating some changed names.
This sounds great. I haven't thought about this code in a bit so I'm going to need some time to refresh before I feel comfortable merging but I'll try to take a closer look this weekend. Thanks.