]> git.lizzy.rs Git - rust.git/blob - src/lib.rs
cdbf8f2cf92410bbafa9857436d95d28af1989db
[rust.git] / src / lib.rs
1 #![feature(
2     i128_type,
3     rustc_private,
4 )]
5
6 // From rustc.
7 #[macro_use]
8 extern crate log;
9 extern crate log_settings;
10 #[macro_use]
11 extern crate rustc;
12 extern crate rustc_borrowck;
13 extern crate rustc_const_math;
14 extern crate rustc_data_structures;
15 extern crate rustc_mir;
16 extern crate syntax;
17
18 // From crates.io.
19 extern crate byteorder;
20
21 mod cast;
22 mod error;
23 mod eval_context;
24 mod lvalue;
25 mod memory;
26 mod operator;
27 mod step;
28 mod terminator;
29 mod traits;
30 mod value;
31
32 pub use error::{
33     EvalError,
34     EvalResult,
35 };
36
37 pub use eval_context::{
38     EvalContext,
39     Frame,
40     ResourceLimits,
41     StackPopCleanup,
42     eval_main,
43 };
44
45 pub use lvalue::{
46     Lvalue,
47     LvalueExtra,
48 };
49
50 pub use memory::{
51     AllocId,
52     Memory,
53     Pointer,
54 };
55
56 pub use value::{
57     PrimVal,
58     PrimValKind,
59     Value,
60 };