about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-20 05:52:04 +0000
committerbors <bors@rust-lang.org>2018-12-20 05:52:04 +0000
commit80c07d4c28c16f87fc7bf5a972e90d2037a9a691 (patch)
tree958e286caade2389a0813b3a1b7448e578010e09
parentf067c5c1eca0b67cd65ff5e782f8a6fc003c5930 (diff)
parentb5f6eb6e75b983b33f4f37a11300f5679443e9c1 (diff)
downloadrust-80c07d4c28c16f87fc7bf5a972e90d2037a9a691.tar.gz
rust-80c07d4c28c16f87fc7bf5a972e90d2037a9a691.zip
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!
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4069472612d..ef6f4cd7b3d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;