-
Why does the present API for the Memory struct require that a store reference be passed to the view method when the Memory is constructed with a store to begin with? Is it valid to use a different store with this method than the one the Memory was constructed with? |
Beta Was this translation helpful? Give feedback.
Answered by
jcaesar
Mar 30, 2023
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
syrusakbary
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Function::new_typed_with_env
, receive aFunctionEnvMut
, and that implementsAsStoreRef
, giving you access.)