rust/compiler/rustc_codegen_ssa
Nicholas Nethercote 757c290fba Move Message::CodegenItem to a separate type.
`Message` is an enum with multiple variants, for messages sent to the
coordinator thread. *Except* for `Message::CodegenItem`, which is
entirely disjoint, being for messages sent from the coordinator thread
to the main thread.

This commit move `Message::CodegenItem` into a separate type,
`CguMessage`, which makes the code much clearer.
2023-06-22 08:07:59 +10:00
..
2023-05-23 16:23:59 +08:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.