mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
989efb8423
Implement debuginfo for unsafe binder types Fixes: rust-lang/rust#139462 This treats an unsafe binder like a struct with a single field. This way we'd have the binder's distinct type name while keeping the wrapped value accessible. Tracking: - https://github.com/rust-lang/rust/issues/130516
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.