Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RefFromWasmAbi #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cwfitzgerald
Copy link

@cwfitzgerald cwfitzgerald commented Jul 20, 2023

Closes #3

I only implemented support for & as I thought &mut would give the impression that you could actually modify the object when in reality you are looking at a just-reffed value.

Support for this comes up in practice when you want a function that works for both rust types and on the wasm boundary (comes up in testing a ton).

I'm going to test this with my project first before this should get merged.

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.

Support for RefFromWasmAbi and RefMutFromWasmAbi
1 participant