]>
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 | 11 | #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", |
7453a54e SL |
12 | html_favicon_url = "https://doc.rust-lang.org/favicon.ico", |
13 | html_root_url = "https://doc.rust-lang.org/nightly/")] | |
32a655c1 | 14 | #![deny(warnings)] |
92a42be0 | 15 | |
c30ab7b3 | 16 | #![feature(box_patterns)] |
9e0c209e | 17 | #![feature(conservative_impl_trait)] |
8bb4bdeb | 18 | #![feature(i128_type)] |
c30ab7b3 | 19 | #![feature(proc_macro_internals)] |
92a42be0 SL |
20 | #![feature(quote)] |
21 | #![feature(rustc_diagnostic_macros)] | |
9e0c209e | 22 | #![feature(specialization)] |
7cac9316 XL |
23 | #![feature(rustc_private)] |
24 | ||
c30ab7b3 SL |
25 | #[macro_use] |
26 | extern crate log; | |
27 | #[macro_use] | |
28 | extern crate syntax; | |
3157f602 | 29 | extern crate syntax_pos; |
041b39d2 | 30 | extern crate flate2; |
a7813a04 | 31 | extern crate serialize as rustc_serialize; // used by deriving |
7cac9316 | 32 | extern crate owning_ref; |
3157f602 | 33 | extern crate rustc_errors as errors; |
9e0c209e | 34 | extern crate syntax_ext; |
c30ab7b3 | 35 | extern crate proc_macro; |
92a42be0 | 36 | |
54a0048b | 37 | #[macro_use] |
92a42be0 SL |
38 | extern crate rustc; |
39 | extern crate rustc_back; | |
c30ab7b3 | 40 | extern crate rustc_data_structures; |
92a42be0 | 41 | |
9e0c209e | 42 | mod diagnostics; |
92a42be0 | 43 | |
9e0c209e SL |
44 | mod astencode; |
45 | mod index_builder; | |
46 | mod index; | |
47 | mod encoder; | |
48 | mod decoder; | |
c30ab7b3 | 49 | mod cstore_impl; |
7cac9316 | 50 | mod isolated_encoder; |
9e0c209e | 51 | mod schema; |
ea8adc8c XL |
52 | mod native_libs; |
53 | mod link_args; | |
92a42be0 | 54 | |
92a42be0 | 55 | pub mod creader; |
92a42be0 | 56 | pub mod cstore; |
c30ab7b3 | 57 | pub mod locator; |
9e0c209e SL |
58 | |
59 | __build_diagnostic_array! { librustc_metadata, DIAGNOSTICS } |