]> git.proxmox.com Git - rustc.git/blame - src/librustc_metadata/lib.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / librustc_metadata / lib.rs
CommitLineData
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
32extern crate flate;
33extern crate rbml;
34extern crate serialize;
35
54a0048b 36#[macro_use]
92a42be0
SL
37extern crate rustc;
38extern crate rustc_back;
92a42be0 39extern crate rustc_llvm;
54a0048b 40extern crate rustc_const_math;
92a42be0
SL
41
42pub use rustc::middle;
43
44#[macro_use]
45mod macros;
46
47pub mod diagnostics;
48
49pub mod astencode;
50pub mod common;
51pub mod tyencode;
52pub mod tydecode;
53pub mod encoder;
54pub mod decoder;
55pub mod creader;
56pub mod csearch;
57pub mod cstore;
58pub mod index;
59pub mod loader;
60pub mod macro_import;
9cc50fc6 61pub mod tls_context;