]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_codegen_ssa/src/back/lto.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / compiler / rustc_codegen_ssa / src / back / lto.rs
index 0ff05229466ac92847e5b7574551428015b0da62..d6ae689f254b1508b2f48d7ce75b5378ce43838f 100644 (file)
@@ -72,7 +72,7 @@ impl<B: WriteBackendMethods> LtoModuleCodegen<B> {
                 let module = module.take().unwrap();
                 {
                     let config = cgcx.config(module.kind);
-                    B::run_lto_pass_manager(cgcx, &module, config, false);
+                    B::run_lto_pass_manager(cgcx, &module, config, false)?;
                 }
                 Ok(module)
             }