Auto merge of #3564 - alexcrichton:rustc-driver, r=phansch

Link to `rustc_driver` crate in plugin

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!
This commit is contained in:
bors 2018-12-20 05:52:04 +00:00
commit 80c07d4c28
1 changed files with 2 additions and 0 deletions

View File

@ -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;