We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CodegenBackend::join_codegen
1 parent f90a0b9 commit 0fd329bCopy full SHA for 0fd329b
src/lib.rs
@@ -233,11 +233,11 @@ impl CodegenBackend for CraneliftCodegenBackend {
233
ongoing_codegen: Box<dyn Any>,
234
sess: &Session,
235
_outputs: &OutputFilenames,
236
- ) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed> {
237
- Ok(ongoing_codegen
+ ) -> (CodegenResults, FxIndexMap<WorkProductId, WorkProduct>) {
+ ongoing_codegen
238
.downcast::<driver::aot::OngoingCodegen>()
239
.unwrap()
240
- .join(sess, self.config.borrow().as_ref().unwrap()))
+ .join(sess, self.config.borrow().as_ref().unwrap())
241
}
242
243
fn link(
0 commit comments