main_thread_worker_state = MainThreadWorkerState::Idle;
}
Message::Done { result: Err(()), worker_id: _ } => {
- shared_emitter.fatal("aborting due to worker thread failure");
- // Exit the coordinator thread
- return Err(())
+ bug!("worker thread panicked");
}
Message::CodegenItem => {
bug!("the coordinator should not receive codegen requests")
panic!("expected abort due to worker thread errors")
},
Err(_) => {
- sess.fatal("Error during codegen/LLVM phase.");
+ bug!("panic during codegen/LLVM phase");
}
};