This commit is contained in:
Ralf Jung
2017-09-14 09:55:17 +02:00
parent 237590ada3
commit a66f622a98
+3 -1
View File
@@ -11,6 +11,7 @@
extern crate log;
use rustc::session::Session;
use rustc::middle::cstore::CrateStore;
use rustc_driver::{Compilation, CompilerCalls, RustcDefaultCalls};
use rustc_driver::driver::{CompileState, CompileController};
use rustc::session::config::{self, Input, ErrorOutputType};
@@ -64,11 +65,12 @@ fn late_callback(
&mut self,
matches: &getopts::Matches,
sess: &Session,
cstore: &CrateStore,
input: &Input,
odir: &Option<PathBuf>,
ofile: &Option<PathBuf>,
) -> Compilation {
self.default.late_callback(matches, sess, input, odir, ofile)
self.default.late_callback(matches, sess, cstore, input, odir, ofile)
}
fn build_controller(
&mut self,