Move LTO to OngoingCodegen::join This will make it easier to in the future move all this code to link_binary. Follow up to https://github.com/rust-lang/rust/pull/147810 Part of https://github.com/rust-lang/compiler-team/issues/908 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| messages.ftl | ||
| README.md | ||
The codegen crate contains the code to convert from MIR into LLVM IR,
and then from LLVM IR into machine code. In general it contains code
that runs towards the end of the compilation process.
For more information about how codegen works, see the rustc dev guide.