cosmwasm
cosmwasm copied to clipboard
Support pass to reference type arguments using the EXTERNREF
Closes: #151
wasm cannot easily reference external memory regions, since each instance is guaranteed to be a sandboxed region of memory.
To solve this limitation, there is a feature spec that supports reference types.
I am particularly interested in the EXTERNREF
keyword.
But now, it seems that most of them have been introduced in a limited way only in the web environment. find the methods using in our VM.
https://github.com/wasmerio/wasmer/blob/4c1bf5cb15c8743412ae0c2418e17a776eb3756f/lib/types/src/features.rs#L91 To use the reference type, the bulk_memory feature must also be activated. Before this issue, the bulk_memory related issue must be resolved first. https://github.com/line/cosmwasm/issues/154