Always calculate glob map but only for glob uses
Previously calculating glob map was *opt-in*, however it did record node id -> ident use for every use directive. This aims to see if we can unconditionally calculate the glob map and not regress performance.
This commit is contained in:
parent
75a369c5b1
commit
df9df19507
9 changed files with 11 additions and 41 deletions
|
|
@ -6,7 +6,6 @@ use rustc_driver::{self, driver, target_features, Compilation};
|
|||
use rustc_driver::driver::phase_2_configure_and_expand;
|
||||
use rustc_metadata::cstore::CStore;
|
||||
use rustc_metadata::dynamic_lib::DynamicLibrary;
|
||||
use rustc_resolve::MakeGlobMap;
|
||||
use rustc::hir;
|
||||
use rustc::hir::intravisit;
|
||||
use rustc::session::{self, CompileIncomplete, config};
|
||||
|
|
@ -100,7 +99,6 @@ pub fn run(mut options: Options) -> isize {
|
|||
None,
|
||||
"rustdoc-test",
|
||||
None,
|
||||
MakeGlobMap::No,
|
||||
|_| Ok(()),
|
||||
).expect("phase_2_configure_and_expand aborted in rustdoc!")
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue