2018-05-08 08:10:16 -05:00
|
|
|
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.
|
|
|
|
|
2020-03-05 15:07:42 -06:00
|
|
|
For more information about how codegen works, see the [rustc dev guide].
|
2018-05-08 08:10:16 -05:00
|
|
|
|
2020-03-30 09:09:51 -05:00
|
|
|
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/backend/codegen.html
|