]> git.lizzy.rs Git - rust.git/blob - src/librustc_metadata/lib.rs
Changed issue number to 36105
[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 #![crate_name = "rustc_metadata"]
12 #![unstable(feature = "rustc_private", issue = "27812")]
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",
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))]
19
20 #![feature(box_patterns)]
21 #![feature(enumset)]
22 #![feature(quote)]
23 #![feature(rustc_diagnostic_macros)]
24 #![feature(rustc_private)]
25 #![feature(staged_api)]
26 #![feature(question_mark)]
27
28 #[macro_use] extern crate log;
29 #[macro_use] extern crate syntax;
30 #[macro_use] #[no_link] extern crate rustc_bitflags;
31 extern crate syntax_pos;
32 extern crate flate;
33 extern crate rbml;
34 extern crate serialize as rustc_serialize; // used by deriving
35 extern crate rustc_errors as errors;
36
37 #[macro_use]
38 extern crate rustc;
39 extern crate rustc_data_structures;
40 extern crate rustc_back;
41 extern crate rustc_llvm;
42 extern crate rustc_const_math;
43
44 pub use rustc::middle;
45
46 #[macro_use]
47 mod macros;
48
49 pub mod diagnostics;
50
51 pub mod astencode;
52 pub mod common;
53 pub mod def_key;
54 pub mod tyencode;
55 pub mod tydecode;
56 pub mod encoder;
57 pub mod decoder;
58 pub mod creader;
59 pub mod csearch;
60 pub mod cstore;
61 pub mod index;
62 pub mod loader;
63 pub mod macro_import;
64 pub mod tls_context;