about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-12-12 19:37:28 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-12-31 17:20:13 +0000
commitd7fa2ee3e6eae1a7fe4526249ce61caaa3d448d4 (patch)
tree115b79f4b9ae0f38e0333519c6f1b74641d3102c /src
parentac8eaa1ba7a5e6887b45bbd84d9a583fac6e39c9 (diff)
downloadrust-d7fa2ee3e6eae1a7fe4526249ce61caaa3d448d4.tar.gz
rust-d7fa2ee3e6eae1a7fe4526249ce61caaa3d448d4.zip
Add missing extern crate rustc_driver
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1d1ef525f23..0c27bcacfb8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -24,6 +24,11 @@ extern crate rustc_parse;
 extern crate rustc_session;
 extern crate rustc_span;
 
+// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
+// files.
+#[allow(unused_extern_crates)]
+extern crate rustc_driver;
+
 use std::cell::RefCell;
 use std::collections::HashMap;
 use std::fmt;