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 72b7aa2
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 @@ -17,6 +17,8 @@
// (currently there is no way to opt into sysroot crates w/o `extern crate`)
#[allow(unused_extern_crates)]
extern crate rustc_plugin;
#[allow(unused_extern_crates)]
extern crate rustc_driver;
use self::rustc_plugin::Registry;

#[plugin_registrar]
Expand Down

0 comments on commit 72b7aa2

Please sign in to comment.