This is part of the callback example. This Wasm module passes host imports and its own functions to the Wasm host to execute.
callback
See examples/callback.rs for the host
examples/callback.rs