rust/src/librustc_passes
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
..
ast_validation.rs Refactor Attribute to use Path and TokenStream instead of MetaItem. 2017-03-14 04:03:43 +00:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
consts.rs rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
diagnostics.rs Change break or continue with no label to error nmbr 590 2017-02-22 18:10:37 -08:00
hir_stats.rs Refactor out ast::ItemKind::MacroDef. 2017-03-10 08:08:32 -08:00
lib.rs Remove unused extern crates. 2017-01-22 01:31:02 +00:00
loops.rs Implement ? in catch expressions and add tests 2017-03-17 21:01:04 -07:00
mir_stats.rs Remove the TypedConstVal 2017-02-28 17:12:56 +02:00
no_asm.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
rvalues.rs rustc_typeck: rework coherence to be almost completely on-demand. 2017-02-25 18:35:26 +02:00
static_recursion.rs Stabilize static_recursion 2017-02-21 23:41:04 -08:00