You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resolve_imported_functions and other resolve_* functions from #637 in their current form are not convenient to use to link exports/imports of several modules together. Resolve API and suits more to import host functions (because of convenience of flattened ImportedFunction struct and other Imported* - fewer curly braces on the caller side).
Importing from one module to another requires External* structs - which are returned from find_exported_* functions - that's what spectest runner uses.
Perhaps resolve API could be improved to accomodate both needs.
The text was updated successfully, but these errors were encountered:
resolve_imported_functions
and otherresolve_*
functions from #637 in their current form are not convenient to use to link exports/imports of several modules together. Resolve API and suits more to import host functions (because of convenience of flattenedImportedFunction
struct and otherImported*
- fewer curly braces on the caller side).Importing from one module to another requires
External*
structs - which are returned fromfind_exported_*
functions - that's what spectest runner uses.Perhaps resolve API could be improved to accomodate both needs.
The text was updated successfully, but these errors were encountered: