|
1 |
| -// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT |
| 1 | +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT |
2 | 2 | // file at the top-level directory of this distribution and at
|
3 | 3 | // http://rust-lang.org/COPYRIGHT.
|
4 | 4 | //
|
@@ -80,7 +80,7 @@ pub struct CrateAnalysis {
|
80 | 80 | pub type Externs = HashMap<String, Vec<String>>;
|
81 | 81 |
|
82 | 82 | /// Parses, resolves, and typechecks the given crate
|
83 |
| -fn get_ast_and_resolve(cpath: &Path, libs: HashSet<Path>, cfgs: Vec<String>, |
| 83 | +fn get_ast_and_resolve(cpath: &Path, libs: Vec<Path>, cfgs: Vec<String>, |
84 | 84 | externs: Externs, triple: Option<String>)
|
85 | 85 | -> (DocContext, CrateAnalysis) {
|
86 | 86 | use syntax::codemap::dummy_spanned;
|
@@ -153,7 +153,7 @@ fn get_ast_and_resolve(cpath: &Path, libs: HashSet<Path>, cfgs: Vec<String>,
|
153 | 153 | })
|
154 | 154 | }
|
155 | 155 |
|
156 |
| -pub fn run_core(libs: HashSet<Path>, cfgs: Vec<String>, externs: Externs, |
| 156 | +pub fn run_core(libs: Vec<Path>, cfgs: Vec<String>, externs: Externs, |
157 | 157 | path: &Path, triple: Option<String>)
|
158 | 158 | -> (clean::Crate, CrateAnalysis) {
|
159 | 159 | let (ctxt, analysis) = get_ast_and_resolve(path, libs, cfgs, externs, triple);
|
|
0 commit comments