about summary refs log tree commit diff
path: root/src/librustc_plugin
AgeCommit message (Collapse)AuthorLines
2016-05-25rustc: use a simpler scheme for plugin registrar symbol names.Eduard Burtescu-1/+2
2016-05-10fix Registry::args for plugins loaded with --extra-pluginsOliver Schneider-2/+5
2016-04-22Remove the MacroVisitor pass.Leo Testard-17/+22
This pass was supposed to check use of gated features before `#[cfg]`-stripping but this was not the case since it in fact happens after. Checks that are actually important and must be done before macro expansion are now made where the features are actually used. Close #32648. Also ensure that attributes on macro-generated macro invocations are checked as well. Close #32782 and #32655.
2016-04-06rustc: move rustc_front to rustc::hir.Eduard Burtescu-5/+3
2016-03-25Make the compiler emit an error if the crate graph contains two crates with ↵Michael Woerister-4/+7
the same crate-name and crate-salt but different SVHs.
2016-03-13Auto merge of #31916 - nagisa:mir-passmgr-2, r=arielb1bors-3/+3
Add Pass manager for MIR A new PR, since rebasing the original one (https://github.com/rust-lang/rust/pull/31448) properly was a pain. Since then there has been several changes most notable of which: 1. Removed the pretty-printing with `#[rustc_mir(graphviz/pretty)]`, mostly because we now have `--unpretty=mir`, IMHO that’s the direction we should expand this functionality into; 2. Reverted the infercx change done for typeck, because typeck can make an infercx for itself by being a `MirMapPass` r? @nikomatsakis
2016-03-12std: Clean out deprecated APIsAlex Crichton-3/+3
Removes all unstable and deprecated APIs prior to the 1.8 release. All APIs that are deprecated in the 1.8 release are sticking around for the rest of this cycle. Some notable changes are: * The `dynamic_lib` module was moved into `rustc_back` as the compiler still relies on a few bits and pieces. * The `DebugTuple` formatter now special-cases an empty struct name with only one field to append a trailing comma.
2016-03-04Add Pass manager for MIRSimonas Kazlauskas-3/+3
2016-02-21rustbuild: Sync some Cargo.toml/lib.rs dependenciesAlex Crichton-0/+1
The standard library doesn't depend on rustc_bitflags, so move it to explicit dependencies on all other crates. Additionally, the arena/fmt_macros deps could be dropped from libsyntax.
2016-02-12Autoderef in librustc_pluginJonas Schievink-1/+1
2016-02-11bootstrap: Add a bunch of Cargo.toml filesAlex Crichton-0/+17
These describe the structure of all our crate dependencies.
2016-02-09Allow registering MIR-passes through compiler pluginsOliver Schneider-0/+12
2016-02-05Instrument a bunch of tasks that employ the HIR map in one way orNiko Matsakis-1/+6
another and were not previously instrumented.
2016-01-24mk: Move from `-D warnings` to `#![deny(warnings)]`Alex Crichton-2/+3
This commit removes the `-D warnings` flag being passed through the makefiles to all crates to instead be a crate attribute. We want these attributes always applied for all our standard builds, and this is more amenable to Cargo-based builds as well. Note that all `deny(warnings)` attributes are gated with a `cfg(stage0)` attribute currently to match the same semantics we have today
2015-12-30use structured errorsNick Cameron-2/+3
2015-12-21Register new snapshotsAlex Crichton-2/+0
Lots of cruft to remove!
2015-12-17move error handling from libsyntax/diagnostics.rs to libsyntax/errors/*Nick Cameron-4/+4
Also split out emitters into their own module.
2015-11-26split the metadata code into rustc_metadataAriel Ben-Yehuda-2/+3
tests & rustdoc still broken
2015-11-26move librustc/plugin to librustc_pluginAriel Ben-Yehuda-0/+457
this is a [breaking-change] to all plugin authors - sorry