[][src]Crate rustc_codegen_ssa

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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 backends.

Modules

backInternal
baseInternal

Codegen the completed AST to the LLVM IR.

commonInternal
debuginfoInternal
glueInternal
methInternal
mirInternal
mono_itemInternal
traitsInternal

Interface of a Rust codegen backend

Structs

CachedModuleCodegenInternal
CodegenResultsInternal
CompiledModuleInternal
CrateInfoInternal

Misc info we load from metadata to persist beyond the tcx.

MemFlagsInternal
ModuleCodegenInternal

Enums

ModuleKindInternal

Constants

METADATA_FILENAMEInternal
RLIB_BYTECODE_EXTENSIONInternal

Functions

looks_like_rust_object_fileInternal

Checks if the given filename ends with the .rcgu.o extension that rustc uses for the object files it generates.

provideInternal
provide_externInternal