Expand description
This crate contains codegen code that is used by all codegen backends (LLVM and others). The backend-agnostic functions of this crate use functions defined in various traits that have to be implemented by each backend.
Modules§
- This pass is only used for UNIT TESTS related to incremental compilation. It tests whether a particular
.o
file will be re-used from a previous compilation or whether it must be regenerated. - Errors emitted by codegen_ssa
- Computing the size and alignment of a value.
- Interface of a Rust codegen backend
Structs§
- Misc info we load from metadata to persist beyond the tcx.
Enums§
Constants§
Statics§
- Raw content of Fluent resource for this crate, generated by
fluent_messages
macro, imported byrustc_driver
to include all crates’ resources in one bundle.
Functions§
- Checks if the given filename ends with the
.rcgu.o
extension thatrustc
uses for the object files it generates.