Initial reorg.
This is largely the same as #305, but updated for the current tree.
This commit is contained in:
37
crates/lightbeam/src/lib.rs
Normal file
37
crates/lightbeam/src/lib.rs
Normal file
@@ -0,0 +1,37 @@
|
||||
#![cfg_attr(feature = "bench", feature(test))]
|
||||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate smallvec;
|
||||
extern crate capstone;
|
||||
extern crate either;
|
||||
pub extern crate wasmparser;
|
||||
#[macro_use]
|
||||
extern crate memoffset;
|
||||
extern crate dynasm;
|
||||
extern crate dynasmrt;
|
||||
extern crate itertools;
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate quickcheck;
|
||||
// Just so we can implement `Signature` for `cranelift_codegen::ir::Signature`
|
||||
extern crate cranelift_codegen;
|
||||
extern crate multi_mut;
|
||||
|
||||
mod backend;
|
||||
mod disassemble;
|
||||
mod error;
|
||||
mod function_body;
|
||||
mod microwasm;
|
||||
mod module;
|
||||
mod translate_sections;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
pub use crate::backend::CodeGenSession;
|
||||
pub use crate::function_body::translate_wasm as translate_function;
|
||||
pub use crate::module::{translate, ExecutableModule, ModuleContext, Signature, TranslatedModule};
|
||||
Reference in New Issue
Block a user