]>
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)] |
ff7c6d11 | 19 | #![feature(libc)] |
c30ab7b3 | 20 | #![feature(proc_macro_internals)] |
92a42be0 SL |
21 | #![feature(quote)] |
22 | #![feature(rustc_diagnostic_macros)] | |
9e0c209e | 23 | #![feature(specialization)] |
7cac9316 XL |
24 | #![feature(rustc_private)] |
25 | ||
ff7c6d11 | 26 | extern crate libc; |
c30ab7b3 SL |
27 | #[macro_use] |
28 | extern crate log; | |
29 | #[macro_use] | |
30 | extern crate syntax; | |
3157f602 | 31 | extern crate syntax_pos; |
041b39d2 | 32 | extern crate flate2; |
a7813a04 | 33 | extern crate serialize as rustc_serialize; // used by deriving |
3157f602 | 34 | extern crate rustc_errors as errors; |
9e0c209e | 35 | extern crate syntax_ext; |
c30ab7b3 | 36 | extern crate proc_macro; |
92a42be0 | 37 | |
54a0048b | 38 | #[macro_use] |
92a42be0 SL |
39 | extern crate rustc; |
40 | extern crate rustc_back; | |
c30ab7b3 | 41 | extern crate rustc_data_structures; |
92a42be0 | 42 | |
9e0c209e | 43 | mod diagnostics; |
92a42be0 | 44 | |
9e0c209e SL |
45 | mod astencode; |
46 | mod index_builder; | |
47 | mod index; | |
48 | mod encoder; | |
49 | mod decoder; | |
c30ab7b3 | 50 | mod cstore_impl; |
7cac9316 | 51 | mod isolated_encoder; |
9e0c209e | 52 | mod schema; |
ea8adc8c XL |
53 | mod native_libs; |
54 | mod link_args; | |
92a42be0 | 55 | |
92a42be0 | 56 | pub mod creader; |
92a42be0 | 57 | pub mod cstore; |
ff7c6d11 | 58 | pub mod dynamic_lib; |
c30ab7b3 | 59 | pub mod locator; |
9e0c209e SL |
60 | |
61 | __build_diagnostic_array! { librustc_metadata, DIAGNOSTICS } |