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

Commit

Permalink
Merge pull request #5 from topecongiro/rustup
Browse files Browse the repository at this point in the history
Rustup to rustc 1.25.0-nightly (97520ccb1 2018-01-21)
  • Loading branch information
nrc authored Jan 22, 2018
2 parents 769e1fa + b40f7c6 commit aaa4ada
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 10 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ extern crate getopts;
extern crate rustc;
extern crate rustc_driver;
extern crate rustc_errors;
extern crate rustc_trans_utils;
extern crate syntax;

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

fn late_callback(&mut self,
a: &getopts::Matches,
b: &Session,
c: &CrateStore,
d: &Input,
e: &Option<PathBuf>,
f: &Option<PathBuf>)
a: &TransCrate,
b: &getopts::Matches,
c: &Session,
d: &CrateStore,
e: &Input,
f: &Option<PathBuf>,
g: &Option<PathBuf>)
-> Compilation {
RustcDefaultCalls.late_callback(a, b, c, d, e, f)
RustcDefaultCalls.late_callback(a, b, c, d, e, f, g)
}

fn some_input(&mut self,
Expand Down

0 comments on commit aaa4ada

Please sign in to comment.