wasmer/lib/llvm-backend/src/lib.rs

23 lines
597 B
Rust
Raw Normal View History

#![deny(unused_imports, unused_variables, unused_unsafe, unreachable_patterns)]
#![cfg_attr(nightly, feature(unwind_attributes))]
mod backend;
2019-02-09 23:53:40 +00:00
mod code;
mod intrinsics;
mod platform;
2019-02-09 23:53:40 +00:00
mod read_info;
mod state;
mod trampolines;
2019-02-09 23:53:40 +00:00
pub use code::LLVMFunctionCodeGenerator as FunctionCodeGenerator;
pub use code::LLVMModuleCodeGenerator as ModuleCodeGenerator;
use wasmer_runtime_core::codegen::SimpleStreamingCompilerGen;
2019-05-07 04:41:31 +00:00
pub type LLVMCompiler = SimpleStreamingCompilerGen<
code::LLVMModuleCodeGenerator,
code::LLVMFunctionCodeGenerator,
backend::LLVMBackend,
code::CodegenError,
>;