Skip to content

Commit a66f622

Browse files
committed
rustup
1 parent 237590a commit a66f622

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

miri/bin/miri.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ extern crate syntax;
1111
extern crate log;
1212

1313
use rustc::session::Session;
14+
use rustc::middle::cstore::CrateStore;
1415
use rustc_driver::{Compilation, CompilerCalls, RustcDefaultCalls};
1516
use rustc_driver::driver::{CompileState, CompileController};
1617
use rustc::session::config::{self, Input, ErrorOutputType};
@@ -64,11 +65,12 @@ impl<'a> CompilerCalls<'a> for MiriCompilerCalls {
6465
&mut self,
6566
matches: &getopts::Matches,
6667
sess: &Session,
68+
cstore: &CrateStore,
6769
input: &Input,
6870
odir: &Option<PathBuf>,
6971
ofile: &Option<PathBuf>,
7072
) -> Compilation {
71-
self.default.late_callback(matches, sess, input, odir, ofile)
73+
self.default.late_callback(matches, sess, cstore, input, odir, ofile)
7274
}
7375
fn build_controller(
7476
&mut self,

0 commit comments

Comments
 (0)