We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa6d02f + 0fd329b commit f7143afCopy full SHA for f7143af
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