Skip to content
Snippets Groups Projects
Commit 7ce3fadf authored by David Renshaw's avatar David Renshaw
Browse files

rustup

parent f2962eab
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls { ...@@ -36,6 +36,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
} }
fn late_callback( fn late_callback(
&mut self, &mut self,
trans: &::rustc_trans_utils::trans_crate::TransCrate,
matches: &getopts::Matches, matches: &getopts::Matches,
sess: &Session, sess: &Session,
cstore: &CrateStore, cstore: &CrateStore,
...@@ -43,7 +44,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls { ...@@ -43,7 +44,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
odir: &Option<PathBuf>, odir: &Option<PathBuf>,
ofile: &Option<PathBuf> ofile: &Option<PathBuf>
) -> Compilation { ) -> Compilation {
self.0.late_callback(matches, sess, cstore, input, odir, ofile) self.0.late_callback(trans, matches, sess, cstore, input, odir, ofile)
} }
fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> { fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> {
let mut control = self.0.build_controller(sess, matches); let mut control = self.0.build_controller(sess, matches);
......
...@@ -15,6 +15,7 @@ extern crate rustc_const_math; ...@@ -15,6 +15,7 @@ extern crate rustc_const_math;
extern crate rustc_data_structures; extern crate rustc_data_structures;
extern crate rustc_driver; extern crate rustc_driver;
extern crate rustc_errors; extern crate rustc_errors;
extern crate rustc_trans_utils;
extern crate syntax; extern crate syntax;
// From crates.io. // From crates.io.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment