-
Notifications
You must be signed in to change notification settings - Fork 824
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
Module.deserialize - accept AsEngineRef #3433
Module.deserialize - accept AsEngineRef #3433
Conversation
Thanks @dsherret, the CI error seems unrelated to your changes. |
@syrusakbary I looked into it just now. It would require updating the |
Yes, that should be ok @dsherret. Thanks for double checking though! |
Should be good now I think. |
Looks good. We have some issue in master that prevented tests to pass. |
Still failing but it's independent on this PR |
Note: this breaks existing code. Concretely, a value with type (this is on the
pub fn get_compiled_module(
&self,
store: &impl AsStoreRef,
data_hash: &str,
compiler: &str,
) -> Option<Module> {
...
Module::deserialize(store, &module_bytes[..]).
} |
I need this in order to use this code #3378 (comment) with
Module::deserialize
instead.