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:
Christoph Herzog
2022-11-15 10:17:29 +01:00
parent 9eae81e5eb
commit 271a36d72b
21 changed files with 1086 additions and 1060 deletions

View File

@@ -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))
}