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:
Lachlan Sneff
2019-01-22 15:00:27 -08:00
committed by GitHub
parent ee67bf95db
commit 38b0fbf3c5
13 changed files with 300 additions and 1832 deletions

View File

@ -587,12 +587,11 @@ mod vm_ctx_tests {
_module: &ModuleInner,
_func_index: FuncIndex,
_params: &[Value],
_returns: &mut [Value],
_import_backing: &ImportBacking,
_vmctx: *mut Ctx,
_: Token,
) -> RuntimeResult<()> {
Ok(())
) -> RuntimeResult<Vec<Value>> {
Ok(vec![])
}
}