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

Update for rust-lang/rust#44420 #4

Merged
merged 1 commit into from
Sep 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ extern crate getopts;
extern crate rustc;
extern crate rustc_driver;
extern crate rustc_errors;
extern crate rustc_resolve;
extern crate syntax;

use rustc_driver::{run_compiler, CompilerCalls, RustcDefaultCalls, Compilation, enable_save_analysis, get_args};
use rustc_driver::driver::CompileController;
use rustc::middle::cstore::CrateStore;
use rustc::session::Session;
use rustc::session::config::{self, ErrorOutputType, Input};
use rustc_driver::driver::CompileController;
use rustc_driver::{run_compiler, CompilerCalls, RustcDefaultCalls, Compilation, enable_save_analysis, get_args};
use syntax::ast;

use std::path::PathBuf;
Expand Down Expand Up @@ -45,11 +45,12 @@ impl<'a> CompilerCalls<'a> for ShimCalls {
fn late_callback(&mut self,
a: &getopts::Matches,
b: &Session,
c: &Input,
d: &Option<PathBuf>,
e: &Option<PathBuf>)
c: &CrateStore,
d: &Input,
e: &Option<PathBuf>,
f: &Option<PathBuf>)
-> Compilation {
RustcDefaultCalls.late_callback(a, b, c, d, e)
RustcDefaultCalls.late_callback(a, b, c, d, e, f)
}

fn some_input(&mut self,
Expand Down