Skip to content

Commit ca0f063

Browse files
committed
fix rustc_tests build
1 parent 7ec04cb commit ca0f063

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rustc_tests/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use std::io;
1313

1414

1515
use rustc::session::Session;
16+
use rustc::middle::cstore::CrateStore;
1617
use rustc_driver::{Compilation, CompilerCalls, RustcDefaultCalls};
1718
use rustc_driver::driver::{CompileState, CompileController};
1819
use rustc::session::config::{self, Input, ErrorOutputType};
@@ -52,11 +53,12 @@ impl<'a> CompilerCalls<'a> for MiriCompilerCalls {
5253
&mut self,
5354
matches: &getopts::Matches,
5455
sess: &Session,
56+
cstore: &CrateStore,
5557
input: &Input,
5658
odir: &Option<PathBuf>,
5759
ofile: &Option<PathBuf>
5860
) -> Compilation {
59-
self.default.late_callback(matches, sess, input, odir, ofile)
61+
self.default.late_callback(matches, sess, cstore, input, odir, ofile)
6062
}
6163
fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> {
6264
let mut control = self.default.build_controller(sess, matches);

0 commit comments

Comments
 (0)