]> git.lizzy.rs Git - rust.git/commitdiff
Re-export `getopts` so custom drivers can reference it.
authorRichard Diamond <wichard@vitalitystudios.com>
Sun, 30 Sep 2018 15:43:47 +0000 (10:43 -0500)
committerRichard Diamond <wichard@vitalitystudios.com>
Sun, 30 Sep 2018 15:48:00 +0000 (10:48 -0500)
Otherwise, custom drivers will have to use their own copy of `getopts`, which
won't match the types used in `CompilerCalls`.

src/librustc_driver/lib.rs

index b97f5868079c4cd576581c88e62ee4fdbfb2b2e5..4405c0aef9023367201af0bc00a608e1af718e3b 100644 (file)
@@ -32,7 +32,7 @@
 #![recursion_limit="256"]
 
 extern crate arena;
-extern crate getopts;
+pub extern crate getopts;
 extern crate graphviz;
 extern crate env_logger;
 #[cfg(unix)]