From 72b7aa2b6215c7fb0b1b48dacfe0c8264b8d4781 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 19 Dec 2018 11:41:27 -0800 Subject: [PATCH] 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! --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 4069472612da..5cb1a7371955 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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]