diff options
| -rw-r--r-- | src/driver/aot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/aot.rs b/src/driver/aot.rs index 27adf6318e2..a52b18573b1 100644 --- a/src/driver/aot.rs +++ b/src/driver/aot.rs @@ -692,7 +692,7 @@ pub(crate) fn run_aot( if tcx.dep_graph.is_fully_enabled() { for cgu in cgus { - tcx.ensure().codegen_unit(cgu.name()); + tcx.ensure_ok().codegen_unit(cgu.name()); } } |
