rustc_plugin/
lib.rs

1//! A framework for writing plugins that integrate with the Rust compiler.
2//!
3//! Much of this library is either directly copy/pasted, or otherwise generalized
4//! from the Clippy driver: <https://github.com/rust-lang/rust-clippy/tree/master/src>
5
6#![feature(rustc_private)]
7
8extern crate rustc_driver;
9extern crate rustc_interface;
10extern crate rustc_session;
11
12#[doc(hidden)]
13pub use cargo_metadata::camino::Utf8Path;
14pub use cli::cli_main;
15pub use driver::driver_main;
16pub use plugin::{CrateFilter, RustcPlugin, RustcPluginArgs};
17
18mod cli;
19mod driver;
20mod plugin;