mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 22:21:32 +00:00
Generate trampolines to call exported functions instead of using libffi (#108)
* remove codegen.rs * Add export trampolines and remove libffi * Remove unused extern crates
This commit is contained in:
@ -180,7 +180,7 @@ impl FuncResolverBuilder {
|
||||
self.resolver
|
||||
.memory
|
||||
.protect(0..self.resolver.memory.size(), Protect::ReadExec)
|
||||
.map_err(|e| CompileError::InternalError { msg: e.to_string() })?;;
|
||||
.map_err(|e| CompileError::InternalError { msg: e.to_string() })?;
|
||||
}
|
||||
|
||||
Ok(self.resolver)
|
||||
|
Reference in New Issue
Block a user