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