Module wasmer_wasm_interface::validate

source ·
Available on crate feature validation only.
Expand description

Validate a wasm module given a interface.

This checks that all imports are specified in the interface and that their types are correct, as well as that all exports that the interface expects are exported by the module and that their types are correct.