Make API compatible changes with wasmer-js

This commit is contained in:
Syrus Akbary
2023-02-16 22:45:28 -08:00
parent b61e2a1287
commit bb9ac04336
2 changed files with 8 additions and 3 deletions

View File

@@ -444,3 +444,9 @@ impl From<WebAssembly::Module> for Module {
}
}
}
impl From<WebAssembly::Module> for crate::module::Module {
fn from(module: WebAssembly::Module) -> crate::module::Module {
crate::module::Module(module.into())
}
}