mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
Rollup of 5 pull requests Successful merges: - rust-lang/rust#158600 (Fix `rustc --unpretty=expanded` emit of `[const] [unsafe] impl Trait for`) - rust-lang/rust#158560 (Move per-function debuginfo methods from codegen to builder methods) - rust-lang/rust#158563 (Test(lib/net): Fix `hostname_smoketest` for Win7) - rust-lang/rust#158571 (Update books) - rust-lang/rust#158592 (tests: only run `lexical-scope-in-match.rs` for LLDB >= 21)
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.