]>
Commit | Line | Data |
---|---|---|
92a42be0 SL |
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 | ||
92a42be0 SL |
11 | #![crate_name = "rustc_metadata"] |
12 | #![unstable(feature = "rustc_private", issue = "27812")] | |
92a42be0 SL |
13 | #![crate_type = "dylib"] |
14 | #![crate_type = "rlib"] | |
15 | #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", | |
7453a54e SL |
16 | html_favicon_url = "https://doc.rust-lang.org/favicon.ico", |
17 | html_root_url = "https://doc.rust-lang.org/nightly/")] | |
18 | #![cfg_attr(not(stage0), deny(warnings))] | |
92a42be0 SL |
19 | |
20 | #![feature(box_patterns)] | |
21 | #![feature(enumset)] | |
22 | #![feature(quote)] | |
23 | #![feature(rustc_diagnostic_macros)] | |
24 | #![feature(rustc_private)] | |
25 | #![feature(staged_api)] | |
54a0048b | 26 | #![feature(question_mark)] |
92a42be0 SL |
27 | |
28 | #[macro_use] extern crate log; | |
29 | #[macro_use] extern crate syntax; | |
30 | #[macro_use] #[no_link] extern crate rustc_bitflags; | |
31 | ||
32 | extern crate flate; | |
33 | extern crate rbml; | |
34 | extern crate serialize; | |
35 | ||
54a0048b | 36 | #[macro_use] |
92a42be0 SL |
37 | extern crate rustc; |
38 | extern crate rustc_back; | |
92a42be0 | 39 | extern crate rustc_llvm; |
54a0048b | 40 | extern crate rustc_const_math; |
92a42be0 SL |
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; | |
9cc50fc6 | 61 | pub mod tls_context; |