rust/compiler/rustc_codegen_ssa
Nicholas Nethercote 88cd8f9324 Simplify Message.
`Message` is an enum with multiple variants. Four of those variants map
directly onto the four variants of `WorkItemResult`. This commit reduces
those four `Message` variants to a single variant containing a
`WorkItemResult`. This requires increasing `WorkItemResult`'s visibility
to `pub(crate)` visibility, but `WorkItem` and `Message` can also have
their visibility reduced to `pub(crate)`.

This change avoids some boilerplate enum translation code, and makes
`Message` easier to understand.
2023-06-22 08:07:59 +10:00
..
src Simplify Message. 2023-06-22 08:07:59 +10:00
Cargo.toml Support rust metadata for AIX. 2023-05-23 16:23:59 +08:00
messages.ftl Write to stdout if - is given as output file 2023-06-06 17:53:29 -04:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

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