mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 14:48:27 +00:00
Merge remote-tracking branch 'origin/master' into wasix
This commit is contained in:
@@ -294,11 +294,11 @@ impl Module {
|
||||
/// # }
|
||||
/// ```
|
||||
pub unsafe fn deserialize_from_file(
|
||||
store: &impl AsStoreRef,
|
||||
engine: &impl AsEngineRef,
|
||||
path: impl AsRef<Path>,
|
||||
) -> Result<Self, DeserializeError> {
|
||||
let artifact = store
|
||||
.as_store_ref()
|
||||
let artifact = engine
|
||||
.as_engine_ref()
|
||||
.engine()
|
||||
.deserialize_from_file(path.as_ref())?;
|
||||
Ok(Self::from_artifact(artifact))
|
||||
|
||||
Reference in New Issue
Block a user