about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--rustc_tests/src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/rustc_tests/src/main.rs b/rustc_tests/src/main.rs
index d1f2f07aaaa..819721c1cd0 100644
--- a/rustc_tests/src/main.rs
+++ b/rustc_tests/src/main.rs
@@ -13,6 +13,7 @@ use std::io;
 
 
 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};
@@ -52,11 +53,12 @@ impl<'a> CompilerCalls<'a> for MiriCompilerCalls {
         &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, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> {
         let mut control = self.default.build_controller(sess, matches);