-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Allowing Linker.define to take impl LinearMemory #2477
Comments
Hi @bkolobara! Currently the The It would be possible to implement a Before implementing that, though, does |
Thanks for the explanation. Maybe I should provided more context, I wanted to create a memory that I could share between threads as |
A Right now the Wasmtime API expects everything in a This needs to change to fully support the Wasm threads proposal; for example, it should be possible to have multiple instances running on different threads import the same shared linear memory and synchronize any growth operations. However, Wasmtime doesn't support shared linear memories today. |
Thanks for the clarification, I will close this issue as there are others tracking the threading support. |
Currently the Linker.define function takes an item that implements
Into<Extern>
andExtern
takes a Memory struct.I would like to define a structure that implements
LinearMemory
and pass it to the linker. Would this be possible?The text was updated successfully, but these errors were encountered: