about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorDaria Sukhonina <dariasukhonina@gmail.com>2025-08-26 18:55:41 +0300
committerDaria Sukhonina <dariasukhonina@gmail.com>2025-08-26 18:55:41 +0300
commit82cc0eeec1a000b8f2b87a070ea807bdd41f44bf (patch)
treedb28db3238aada2f291db439c2ce84ec15226d81 /compiler/rustc_codegen_ssa/src
parent4356e83c77cb28113411fb8e2219127f708095b5 (diff)
downloadrust-82cc0eeec1a000b8f2b87a070ea807bdd41f44bf.tar.gz
rust-82cc0eeec1a000b8f2b87a070ea807bdd41f44bf.zip
Ensure the coordinator thread terminates first
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/write.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs
index 9f22859ba81..0d766d2704b 100644
--- a/compiler/rustc_codegen_ssa/src/back/write.rs
+++ b/compiler/rustc_codegen_ssa/src/back/write.rs
@@ -1957,10 +1957,10 @@ impl<B: ExtraBackendMethods> Drop for Coordinator<B> {
 pub struct OngoingCodegen<B: ExtraBackendMethods> {
     pub backend: B,
     pub crate_info: CrateInfo,
-    pub codegen_worker_receive: Receiver<CguMessage>,
-    pub shared_emitter_main: SharedEmitterMain,
     pub output_filenames: Arc<OutputFilenames>,
     pub coordinator: Coordinator<B>,
+    pub codegen_worker_receive: Receiver<CguMessage>,
+    pub shared_emitter_main: SharedEmitterMain,
 }
 
 impl<B: ExtraBackendMethods> OngoingCodegen<B> {