rust/src/librustc_metadata
Alex Crichton e341d603fe Remove internal liblog
This commit deletes the internal liblog in favor of the implementation that
lives on crates.io. Similarly it's also setting a convention for adding crates
to the compiler. The main restriction right now is that we want compiler
implementation details to be unreachable from normal Rust code (e.g. requires a
feature), and by default everything in the sysroot is reachable via `extern
crate`.

The proposal here is to require that crates pulled in have these lines in their
`src/lib.rs`:

    #![cfg_attr(rustbuild, feature(staged_api, rustc_private))]
    #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))]

This'll mean that by default they're not using these attributes but when
compiled as part of the compiler they do a few things:

* Mark themselves as entirely unstable via the `staged_api` feature and the
  `#![unstable]` attribute.
* Allow usage of other unstable crates via `feature(rustc_private)` which is
  required if the crate relies on any other crates to compile (other than std).
2017-03-23 11:28:00 -07:00
..
astencode.rs rustc: rename TyCtxt's map field to hir. 2017-01-26 13:41:28 +02:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
creader.rs Remove internal liblog 2017-03-23 11:28:00 -07:00
cstore_impl.rs Avoid using Mark and Invocation for macro defs. 2017-03-10 08:08:32 -08:00
cstore.rs Refactor Attribute to use Path and TokenStream instead of MetaItem. 2017-03-14 04:03:43 +00:00
decoder.rs Rollup merge of #40696 - cramertj:remove-unused-adt-def-code, r=petrochenkov 2017-03-22 23:38:03 -04:00
diagnostics.rs Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
encoder.rs translate tuple-variant constructors using MIR 2017-03-18 02:52:07 +02:00
index_builder.rs Allocate numerical values of DefIndexes from two seperate ranges. 2017-03-22 17:07:19 +01:00
index.rs Allocate numerical values of DefIndexes from two seperate ranges. 2017-03-22 17:07:19 +01:00
lib.rs rustc: introduce a query system for type information in ty::maps. 2017-02-25 17:07:59 +02:00
locator.rs rustc: Prefer loading crates in the sysroot 2017-03-09 07:00:13 -08:00
schema.rs rustc_const_eval: demand that the MIR qualify_consts ran on each evaluated body. 2017-02-25 18:35:26 +02:00