rust/src/lib.rs
2016-06-10 16:20:17 +02:00

40 lines
576 B
Rust

#![feature(
btree_range,
collections,
collections_bound,
core_intrinsics,
filling_drop,
question_mark,
rustc_private,
pub_restricted,
)]
// From rustc.
#[macro_use] extern crate rustc;
extern crate rustc_mir;
extern crate syntax;
#[macro_use] extern crate log;
extern crate log_settings;
// From crates.io.
extern crate byteorder;
mod error;
mod interpreter;
mod memory;
mod primval;
pub use error::{
EvalError,
EvalResult,
};
pub use interpreter::{
EvalContext,
step,
Frame,
CachedMir,
};
pub use memory::Memory;