From 7ce3fadfcd9a8c7caaeeba6c80841f4d38541e39 Mon Sep 17 00:00:00 2001
From: David Renshaw <dwrenshaw@gmail.com>
Date: Sun, 21 Jan 2018 20:26:13 -0500
Subject: [PATCH] rustup

---
 src/driver.rs | 3 ++-
 src/lib.rs    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/driver.rs b/src/driver.rs
index 8589eb6..b7caea3 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -36,6 +36,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
     }
     fn late_callback(
         &mut self,
+        trans: &::rustc_trans_utils::trans_crate::TransCrate,
         matches: &getopts::Matches,
         sess: &Session,
         cstore: &CrateStore,
@@ -43,7 +44,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
         odir: &Option<PathBuf>,
         ofile: &Option<PathBuf>
     ) -> 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> {
         let mut control = self.0.build_controller(sess, matches);
diff --git a/src/lib.rs b/src/lib.rs
index 08cd73f..0d559e3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,6 +15,7 @@ extern crate rustc_const_math;
 extern crate rustc_data_structures;
 extern crate rustc_driver;
 extern crate rustc_errors;
+extern crate rustc_trans_utils;
 extern crate syntax;
 
 // From crates.io.
-- 
GitLab