Skip to content

Commit

Permalink
Link to rustc_driver crate in plugin
Browse files Browse the repository at this point in the history
This is in anticipation for rust-lang/rust#56987 where the
`rustc_driver` crate being linked in will be required to link correctly
against the compiler. In the meantime it should be harmless otherwise!
  • Loading branch information
alexcrichton committed Dec 19, 2018
1 parent 691e5e7 commit b5f6eb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// FIXME: switch to something more ergonomic here, once available.
// (currently there is no way to opt into sysroot crates w/o `extern crate`)
#[allow(unused_extern_crates)]
extern crate rustc_driver;
#[allow(unused_extern_crates)]
extern crate rustc_plugin;
use self::rustc_plugin::Registry;

Expand Down

0 comments on commit b5f6eb6

Please sign in to comment.