We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9523c89 commit 1622b6eCopy full SHA for 1622b6e
src/librustc_codegen_ssa/back/write.rs
@@ -1244,11 +1244,11 @@ fn start_executing_work<B: ExtraBackendMethods>(
1244
while !codegen_done
1245
|| running > 0
1246
|| (!codegen_aborted
1247
- && (!work_items.is_empty()
1248
- || !needs_fat_lto.is_empty()
1249
- || !needs_thin_lto.is_empty()
1250
- || !lto_import_only_modules.is_empty()
1251
- || main_thread_worker_state != MainThreadWorkerState::Idle))
+ && !(work_items.is_empty()
+ && needs_fat_lto.is_empty()
+ && needs_thin_lto.is_empty()
+ && lto_import_only_modules.is_empty()
+ && main_thread_worker_state == MainThreadWorkerState::Idle))
1252
{
1253
// While there are still CGUs to be codegened, the coordinator has
1254
// to decide how to utilize the compiler processes implicit Token:
0 commit comments