wasmer_compiler::engine

Module resolver

Source
Expand description

Custom resolution for external references.

StructsΒ§

FunctionsΒ§

  • Get an ExternType given a import index.
  • get_extern_type πŸ”’
    Get an ExternType given an export (and Engine signatures in case is a function).
  • get_runtime_size πŸ”’
  • resolve_import πŸ”’
  • This function allows to match all imports of a ModuleInfo with concrete definitions provided by a Resolver, except for tags which are resolved separately through resolve_tags.
  • This function resolves all tags of a ModuleInfo. Imported tags are resolved from the StoreObjects, whereas local tags are created and pushed to it. This is because we need every tag to have a unique VMSharedTagIndex in the StoreObjects, regardless of whether it’s local or imported, so that exception handling can correctly resolve cross-module exceptions.