We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00e1f5b commit 1811f13Copy full SHA for 1811f13
src/librustc_codegen_llvm/back/write.rs
@@ -2031,9 +2031,7 @@ fn start_executing_work(tcx: TyCtxt,
2031
main_thread_worker_state = MainThreadWorkerState::Idle;
2032
}
2033
Message::Done { result: Err(()), worker_id: _ } => {
2034
- shared_emitter.fatal("aborting due to worker thread failure");
2035
- // Exit the coordinator thread
2036
- return Err(())
+ bug!("worker thread panicked");
2037
2038
Message::CodegenItem => {
2039
bug!("the coordinator should not receive codegen requests")
@@ -2392,7 +2390,7 @@ impl OngoingCodegen {
2392
2390
panic!("expected abort due to worker thread errors")
2393
2391
},
2394
Err(_) => {
2395
- sess.fatal("Error during codegen/LLVM phase.");
+ bug!("panic during codegen/LLVM phase");
2396
2397
};
2398
0 commit comments