Make CodegenBackend::join_codegen
infallible.
Because they all are, in practice.
This commit is contained in:
parent
cbddf31863
commit
ede99234c4
6 changed files with 12 additions and 14 deletions
|
@ -259,7 +259,7 @@ pub struct Linker {
|
|||
impl Linker {
|
||||
pub fn link(self, sess: &Session, codegen_backend: &dyn CodegenBackend) -> Result<()> {
|
||||
let (codegen_results, work_products) =
|
||||
codegen_backend.join_codegen(self.ongoing_codegen, sess, &self.output_filenames)?;
|
||||
codegen_backend.join_codegen(self.ongoing_codegen, sess, &self.output_filenames);
|
||||
|
||||
sess.compile_status()?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue