Changed addl_lib_search_paths from HashSet to Vec
This makes the extra library paths given to the gcc linker come in the same order as the -L options on the rustc command line.
This commit is contained in:
@@ -369,11 +369,7 @@ fn rust_input(cratefile: &str, externs: core::Externs, matches: &getopts::Matche
|
||||
info!("starting to run rustc");
|
||||
let (mut krate, analysis) = std::task::try(proc() {
|
||||
let cr = cr;
|
||||
core::run_core(libs.move_iter().collect(),
|
||||
cfgs,
|
||||
externs,
|
||||
&cr,
|
||||
triple)
|
||||
core::run_core(libs, cfgs, externs, &cr, triple)
|
||||
}).map_err(|boxed_any|format!("{:?}", boxed_any)).unwrap();
|
||||
info!("finished with rustc");
|
||||
analysiskey.replace(Some(analysis));
|
||||
|
||||
Reference in New Issue
Block a user