]> git.proxmox.com Git - rustc.git/blame - src/librustc_metadata/lib.rs
New upstream version 1.24.1+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 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 26extern crate libc;
c30ab7b3
SL
27#[macro_use]
28extern crate log;
29#[macro_use]
30extern crate syntax;
3157f602 31extern crate syntax_pos;
041b39d2 32extern crate flate2;
a7813a04 33extern crate serialize as rustc_serialize; // used by deriving
3157f602 34extern crate rustc_errors as errors;
9e0c209e 35extern crate syntax_ext;
c30ab7b3 36extern crate proc_macro;
92a42be0 37
54a0048b 38#[macro_use]
92a42be0
SL
39extern crate rustc;
40extern crate rustc_back;
c30ab7b3 41extern crate rustc_data_structures;
92a42be0 42
9e0c209e 43mod diagnostics;
92a42be0 44
9e0c209e
SL
45mod astencode;
46mod index_builder;
47mod index;
48mod encoder;
49mod decoder;
c30ab7b3 50mod cstore_impl;
7cac9316 51mod isolated_encoder;
9e0c209e 52mod schema;
ea8adc8c
XL
53mod native_libs;
54mod link_args;
92a42be0 55
92a42be0 56pub mod creader;
92a42be0 57pub mod cstore;
ff7c6d11 58pub mod dynamic_lib;
c30ab7b3 59pub mod locator;
9e0c209e
SL
60
61__build_diagnostic_array! { librustc_metadata, DIAGNOSTICS }