Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Update to Wasmer 3.x - #6

Open
PieKing1215 wants to merge 6 commits into
alec-deason:mainfrom
PieKing1215:wasmer3
Open

Update to Wasmer 3.x#6
PieKing1215 wants to merge 6 commits into
alec-deason:mainfrom
PieKing1215:wasmer3

Conversation

@PieKing1215

Copy link
Copy Markdown

I updated this to wasmer 3.x while I was trying to debug a panic I was getting.

The only differences in the public API are:

  • call_function and call_function_with_argument now both take &mut self (call_function_with_argument was &self before for some reason).
  • import_function_with_context and import_function both require the function to be Sync now

Otherwise the changes are mainly just passing Store references around more and updating some changed names.

@alec-deason

Copy link
Copy Markdown
Owner

This sounds great. I haven't thought about this code in a bit so I'm going to need some time to refresh before I feel comfortable merging but I'll try to take a closer look this weekend. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants