Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Commit b40f7c6

Browse files
committed
Rustup to rustc 1.25.0-nightly (97520ccb1 2018-01-21)
1 parent 769e1fa commit b40f7c6

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ extern crate getopts;
66
extern crate rustc;
77
extern crate rustc_driver;
88
extern crate rustc_errors;
9+
extern crate rustc_trans_utils;
910
extern crate syntax;
1011

1112
use rustc::middle::cstore::CrateStore;
1213
use rustc::session::Session;
1314
use rustc::session::config::{self, ErrorOutputType, Input};
15+
use rustc_trans_utils::trans_crate::TransCrate;
1416
use rustc_driver::driver::CompileController;
1517
use rustc_driver::{run_compiler, CompilerCalls, RustcDefaultCalls, Compilation, enable_save_analysis, get_args};
1618
use syntax::ast;
@@ -43,14 +45,15 @@ impl<'a> CompilerCalls<'a> for ShimCalls {
4345
}
4446

4547
fn late_callback(&mut self,
46-
a: &getopts::Matches,
47-
b: &Session,
48-
c: &CrateStore,
49-
d: &Input,
50-
e: &Option<PathBuf>,
51-
f: &Option<PathBuf>)
48+
a: &TransCrate,
49+
b: &getopts::Matches,
50+
c: &Session,
51+
d: &CrateStore,
52+
e: &Input,
53+
f: &Option<PathBuf>,
54+
g: &Option<PathBuf>)
5255
-> Compilation {
53-
RustcDefaultCalls.late_callback(a, b, c, d, e, f)
56+
RustcDefaultCalls.late_callback(a, b, c, d, e, f, g)
5457
}
5558

5659
fn some_input(&mut self,

0 commit comments

Comments
 (0)