mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-29 19:05:05 -04:00
Rollup of 7 pull requests Successful merges: - rust-lang/rust#158073 (bootstrap: fix panic when repo path contains spaces by switching to CARGO_ENCODED_RUSTFLAGS) - rust-lang/rust#158256 (Avoid parser panics bubbling out to proc macros) - rust-lang/rust#158561 (Avoid building rustdoc for tests without doctests) - rust-lang/rust#158562 (Improve tracing of steps in bootstrap) - rust-lang/rust#157445 (Allow section override when using patchable-function-entries) - rust-lang/rust#158327 (Move attribute and keyword docs from `std` to `core`) - rust-lang/rust#158591 (Fix spacing issue for unused parentheses lint)
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.