]>
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 | 19 | |
9e0c209e SL |
20 | #![feature(conservative_impl_trait)] |
21 | #![feature(core_intrinsics)] | |
92a42be0 | 22 | #![feature(box_patterns)] |
9e0c209e SL |
23 | #![feature(dotdot_in_tuple_patterns)] |
24 | #![cfg_attr(stage0, feature(question_mark))] | |
92a42be0 SL |
25 | #![feature(quote)] |
26 | #![feature(rustc_diagnostic_macros)] | |
9e0c209e SL |
27 | #![feature(rustc_macro_lib)] |
28 | #![feature(rustc_macro_internals)] | |
92a42be0 | 29 | #![feature(rustc_private)] |
9e0c209e | 30 | #![feature(specialization)] |
92a42be0 | 31 | #![feature(staged_api)] |
92a42be0 SL |
32 | |
33 | #[macro_use] extern crate log; | |
34 | #[macro_use] extern crate syntax; | |
3157f602 | 35 | extern crate syntax_pos; |
92a42be0 | 36 | extern crate flate; |
a7813a04 | 37 | extern crate serialize as rustc_serialize; // used by deriving |
3157f602 | 38 | extern crate rustc_errors as errors; |
9e0c209e | 39 | extern crate syntax_ext; |
92a42be0 | 40 | |
54a0048b | 41 | #[macro_use] |
92a42be0 | 42 | extern crate rustc; |
3157f602 | 43 | extern crate rustc_data_structures; |
92a42be0 | 44 | extern crate rustc_back; |
92a42be0 | 45 | extern crate rustc_llvm; |
9e0c209e | 46 | extern crate rustc_macro; |
54a0048b | 47 | extern crate rustc_const_math; |
92a42be0 | 48 | |
9e0c209e | 49 | mod diagnostics; |
92a42be0 | 50 | |
9e0c209e SL |
51 | mod astencode; |
52 | mod index_builder; | |
53 | mod index; | |
54 | mod encoder; | |
55 | mod decoder; | |
56 | mod csearch; | |
57 | mod schema; | |
92a42be0 | 58 | |
92a42be0 | 59 | pub mod creader; |
92a42be0 | 60 | pub mod cstore; |
92a42be0 SL |
61 | pub mod loader; |
62 | pub mod macro_import; | |
9e0c209e SL |
63 | |
64 | __build_diagnostic_array! { librustc_metadata, DIAGNOSTICS } |