Make CodegenBackend::join_codegen
infallible.
Because they all are, in practice.
This commit is contained in:
parent
f90a0b9a18
commit
0fd329b96a
@ -233,11 +233,11 @@ fn join_codegen(
|
||||
ongoing_codegen: Box<dyn Any>,
|
||||
sess: &Session,
|
||||
_outputs: &OutputFilenames,
|
||||
) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed> {
|
||||
Ok(ongoing_codegen
|
||||
) -> (CodegenResults, FxIndexMap<WorkProductId, WorkProduct>) {
|
||||
ongoing_codegen
|
||||
.downcast::<driver::aot::OngoingCodegen>()
|
||||
.unwrap()
|
||||
.join(sess, self.config.borrow().as_ref().unwrap()))
|
||||
.join(sess, self.config.borrow().as_ref().unwrap())
|
||||
}
|
||||
|
||||
fn link(
|
||||
|
Loading…
Reference in New Issue
Block a user