Skip to content

Commit b5f6eb6

Browse files
committedDec 19, 2018
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!
1 parent 691e5e7 commit b5f6eb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
// FIXME: switch to something more ergonomic here, once available.
1717
// (currently there is no way to opt into sysroot crates w/o `extern crate`)
1818
#[allow(unused_extern_crates)]
19+
extern crate rustc_driver;
20+
#[allow(unused_extern_crates)]
1921
extern crate rustc_plugin;
2022
use self::rustc_plugin::Registry;
2123

0 commit comments

Comments
 (0)
Please sign in to comment.