Store concrete crate stores where possible
This commit is contained in:
parent
eb0bc64265
commit
5aec365cb9
19 changed files with 101 additions and 105 deletions
|
|
@ -21,12 +21,13 @@ extern crate rustc_driver;
|
|||
extern crate rustc_codegen_utils;
|
||||
extern crate syntax;
|
||||
extern crate rustc_errors as errors;
|
||||
extern crate rustc_metadata;
|
||||
|
||||
use rustc::middle::cstore::CrateStore;
|
||||
use rustc::session::Session;
|
||||
use rustc::session::config::{self, Input};
|
||||
use rustc_driver::{driver, CompilerCalls, Compilation};
|
||||
use rustc_codegen_utils::codegen_backend::CodegenBackend;
|
||||
use rustc_metadata::cstore::CStore;
|
||||
use syntax::ast;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
|
@ -51,7 +52,7 @@ impl<'a> CompilerCalls<'a> for TestCalls<'a> {
|
|||
_: &CodegenBackend,
|
||||
_: &getopts::Matches,
|
||||
_: &Session,
|
||||
_: &CrateStore,
|
||||
_: &CStore,
|
||||
_: &Input,
|
||||
_: &Option<PathBuf>,
|
||||
_: &Option<PathBuf>)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue