mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
8e6b4e91b6
Fix casting between methods and function pointers by assigning a secondary type id to methods with their concrete self so they can be used as function pointers. |
||
---|---|---|
.. | ||
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.