mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 05:18:43 +00:00
Various fixes
* Fix bindings generation with manual patchup via syn * Fix .wit types and re-generate bindings * Enable some missing dependency features
This commit is contained in:
@@ -274,7 +274,7 @@ impl Module {
|
||||
store: &impl AsStoreRef,
|
||||
bytes: impl IntoBytes,
|
||||
) -> Result<Self, wasmer_types::DeserializeError> {
|
||||
let bytes = bytes.into_bytes();
|
||||
let bytes = bytes.into_bytes().to_vec();
|
||||
let artifact = store.as_store_ref().engine().deserialize(&bytes)?;
|
||||
Ok(Self::from_artifact(artifact))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user