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

@ -1,4 +1,3 @@
// pub mod codegen;
mod call;
mod func_env;
mod libcalls;
@ -6,6 +5,7 @@ mod module;
mod module_env;
mod relocation;
mod resolver;
mod trampoline;
use cranelift_codegen::{
isa,