rust/src/lib.rs

41 lines
602 B
Rust
Raw Normal View History

2016-04-07 06:56:07 -05:00
#![feature(
btree_range,
collections,
collections_bound,
core_intrinsics,
filling_drop,
2016-05-09 19:52:44 -05:00
question_mark,
2016-04-07 06:56:07 -05:00
rustc_private,
2016-06-01 10:05:20 -05:00
pub_restricted,
2016-04-07 06:56:07 -05:00
)]
// From rustc.
2016-04-06 20:00:34 -05:00
#[macro_use] extern crate rustc;
extern crate rustc_mir;
extern crate rustc_trans;
extern crate syntax;
#[macro_use] extern crate log;
extern crate log_settings;
// From crates.io.
extern crate byteorder;
2016-03-14 22:48:00 -05:00
mod error;
mod interpreter;
2016-03-05 00:48:23 -06:00
mod memory;
mod primval;
pub use error::{
EvalError,
EvalResult,
};
pub use interpreter::{
EvalContext,
step,
Frame,
CachedMir,
};
pub use memory::Memory;