We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82cc0ee commit dd07459Copy full SHA for dd07459
compiler/rustc_codegen_ssa/src/back/write.rs
@@ -1958,6 +1958,9 @@ pub struct OngoingCodegen<B: ExtraBackendMethods> {
1958
pub backend: B,
1959
pub crate_info: CrateInfo,
1960
pub output_filenames: Arc<OutputFilenames>,
1961
+ // Field order below is intended to terminate the coordinator thread before two fields below
1962
+ // drop and prematurely close channels used by coordinator thread. See `Coordinator`'s
1963
+ // `Drop` implementation for more info.
1964
pub coordinator: Coordinator<B>,
1965
pub codegen_worker_receive: Receiver<CguMessage>,
1966
pub shared_emitter_main: SharedEmitterMain,
0 commit comments