Make hash_result an Option.

This commit is contained in:
Camille GILLOT 2021-10-16 22:31:48 +02:00
parent 44cce7a4c8
commit 7879119e6a

View file

@ -224,7 +224,7 @@ pub(crate) fn run_aot(
tcx,
(backend_config.clone(), cgu.name()),
module_codegen,
rustc_middle::dep_graph::hash_result,
Some(rustc_middle::dep_graph::hash_result),
);
if let Some((id, product)) = work_product {