Skip to content

New FFI for integrating Wasmer 7 into the Go VM - #97

Draft
andrei-marinica wants to merge 27 commits into
rc/after-supernovafrom
newffi
Draft

andrei-marinica wants to merge 27 commits into
rc/after-supernovafrom
newffi

Conversation

@andrei-marinica

Copy link
Copy Markdown
Contributor

No description provided.

- Instance::get_imported_function_names, needed to validate contract imports
- InstanceState gains memory_length/memory_grow; load & store are strict,
  with memory_load_clamped preserving the Go VM's truncating load
- bounds rules shared via checked_load_range/checked_store_range + MemoryError,
  one implementation for all backends; wasmer 2.2 was not checking at all
- panics on Result-returning paths turned into errors, so nothing aborts
  across the FFI boundary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant