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,
20312031 main_thread_worker_state = MainThreadWorkerState :: Idle ;
20322032 }
20332033 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" ) ;
20372035 }
20382036 Message :: CodegenItem => {
20392037 bug ! ( "the coordinator should not receive codegen requests" )
@@ -2392,7 +2390,7 @@ impl OngoingCodegen {
23922390 panic ! ( "expected abort due to worker thread errors" )
23932391 } ,
23942392 Err ( _) => {
2395- sess . fatal ( "Error during codegen/LLVM phase. ") ;
2393+ bug ! ( "panic during codegen/LLVM phase") ;
23962394 }
23972395 } ;
23982396
You can’t perform that action at this time.
0 commit comments