]> git.lizzy.rs Git - rust.git/blob - src/librustc_metadata/lib.rs
Auto merge of #30248 - petevine:master, r=brson
[rust.git] / src / librustc_metadata / lib.rs
1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![cfg_attr(stage0, feature(custom_attribute))]
12 #![crate_name = "rustc_metadata"]
13 #![unstable(feature = "rustc_private", issue = "27812")]
14 #![cfg_attr(stage0, staged_api)]
15 #![crate_type = "dylib"]
16 #![crate_type = "rlib"]
17 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
18       html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
19       html_root_url = "https://doc.rust-lang.org/nightly/")]
20
21 #![feature(box_patterns)]
22 #![feature(enumset)]
23 #![feature(quote)]
24 #![feature(rustc_diagnostic_macros)]
25 #![feature(rustc_private)]
26 #![feature(staged_api)]
27 #![feature(time2)]
28
29 #[macro_use] extern crate log;
30 #[macro_use] extern crate syntax;
31 #[macro_use] #[no_link] extern crate rustc_bitflags;
32
33 extern crate flate;
34 extern crate rbml;
35 extern crate serialize;
36
37 extern crate rustc;
38 extern crate rustc_back;
39 extern crate rustc_front;
40 extern crate rustc_llvm;
41
42 pub use rustc::middle;
43
44 #[macro_use]
45 mod macros;
46
47 pub mod diagnostics;
48
49 pub mod astencode;
50 pub mod common;
51 pub mod tyencode;
52 pub mod tydecode;
53 pub mod encoder;
54 pub mod decoder;
55 pub mod creader;
56 pub mod csearch;
57 pub mod cstore;
58 pub mod index;
59 pub mod loader;
60 pub mod macro_import;
61 pub mod tls_context;