mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-30 09:01:33 +00:00
Make wasmer executable work with dynasm
This commit is contained in:
@ -38,7 +38,8 @@ impl CacheGen for Placeholder {
|
||||
&self,
|
||||
module: &ModuleInner,
|
||||
) -> Result<(Box<ModuleInfo>, Box<[u8]>, Memory), CacheError> {
|
||||
unimplemented!()
|
||||
// unimplemented!()
|
||||
Err(CacheError::Unknown("the dynasm backend doesn't support caching yet".to_string()))
|
||||
}
|
||||
}
|
||||
|
||||
@ -73,7 +74,8 @@ impl Compiler for SinglePassCompiler {
|
||||
}
|
||||
|
||||
unsafe fn from_cache(&self, _artifact: Artifact, _: Token) -> Result<ModuleInner, CacheError> {
|
||||
unimplemented!("the dynasm backend doesn't support caching yet")
|
||||
Err(CacheError::Unknown("the dynasm backend doesn't support caching yet".to_string()))
|
||||
// unimplemented!("the dynasm backend doesn't support caching yet")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user