diff options
| author | Ralf Jung <post@ralfj.de> | 2017-09-14 10:39:41 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2017-09-14 10:40:22 +0200 |
| commit | ca0f063489d61e14b72cfb46e9d5e0403e361af6 (patch) | |
| tree | dd80bf8a74c447a76a729898ea4877e302a9b3bf | |
| parent | 7ec04cb676be3ca9d99d829b61eec0cd38ba5ed5 (diff) | |
| download | rust-ca0f063489d61e14b72cfb46e9d5e0403e361af6.tar.gz rust-ca0f063489d61e14b72cfb46e9d5e0403e361af6.zip | |
fix rustc_tests build
| -rw-r--r-- | rustc_tests/src/main.rs | 4 |
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); |
