Skip to content

Commit ce9faca

Browse files
committed
Make hash_result an Option.
1 parent 98f0580 commit ce9faca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/base.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ pub fn compile_codegen_unit<'tcx>(tcx: TyCtxt<'tcx>, cgu_name: Symbol) -> (Modul
5959
let start_time = Instant::now();
6060

6161
let dep_node = tcx.codegen_unit(cgu_name).codegen_dep_node(tcx);
62-
let (module, _) = tcx.dep_graph.with_task(dep_node, tcx, cgu_name, module_codegen, dep_graph::hash_result);
62+
let (module, _) = tcx.dep_graph.with_task(
63+
dep_node,
64+
tcx,
65+
cgu_name,
66+
module_codegen,
67+
Some(dep_graph::hash_result),
68+
);
6369
let time_to_codegen = start_time.elapsed();
6470
drop(prof_timer);
6571

0 commit comments

Comments
 (0)