save-analysis: don't recompute crate name
This commit is contained in:
parent
7aec91734e
commit
401c80dab1
9 changed files with 24 additions and 27 deletions
|
|
@ -229,7 +229,7 @@ fn compile_program(input: &str, sysroot: PathBuf)
|
|||
let ast_map = driver::make_map(&sess, &mut hir_forest);
|
||||
|
||||
driver::phase_3_run_analysis_passes(
|
||||
&sess, ast_map, &arenas, id, MakeGlobMap::No, |tcx, analysis| {
|
||||
&sess, ast_map, &arenas, &id, MakeGlobMap::No, |tcx, analysis| {
|
||||
|
||||
let trans = driver::phase_4_translate_to_llvm(tcx, analysis);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue