File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/librustc_codegen_llvm/back Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2031,9 +2031,7 @@ fn start_executing_work(tcx: TyCtxt,
2031
2031
main_thread_worker_state = MainThreadWorkerState :: Idle ;
2032
2032
}
2033
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 ( ( ) )
2034
+ bug ! ( "worker thread panicked" ) ;
2037
2035
}
2038
2036
Message :: CodegenItem => {
2039
2037
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
2392
Err ( _) => {
2395
- sess . fatal ( "Error during codegen/LLVM phase. ") ;
2393
+ bug ! ( "panic during codegen/LLVM phase") ;
2396
2394
}
2397
2395
} ;
2398
2396
You can’t perform that action at this time.
0 commit comments