Struct rustc_codegen_ssa::CodegenResults
source · pub struct CodegenResults {
pub modules: Vec<CompiledModule>,
pub allocator_module: Option<CompiledModule>,
pub metadata_module: Option<CompiledModule>,
pub metadata: EncodedMetadata,
pub crate_info: CrateInfo,
}
Fields§
§modules: Vec<CompiledModule>
§allocator_module: Option<CompiledModule>
§metadata_module: Option<CompiledModule>
§metadata: EncodedMetadata
§crate_info: CrateInfo
Implementations§
source§impl CodegenResults
impl CodegenResults
pub fn serialize_rlink(codegen_results: &CodegenResults) -> Vec<u8>
pub fn deserialize_rlink<'a>(data: Vec<u8>) -> Result<Self, CodegenErrors<'a>>
Trait Implementations§
source§impl<__D: Decoder> Decodable<__D> for CodegenResults
impl<__D: Decoder> Decodable<__D> for CodegenResults
Auto Trait Implementations§
impl !RefUnwindSafe for CodegenResults
impl !Send for CodegenResults
impl !Sync for CodegenResults
impl Unpin for CodegenResults
impl !UnwindSafe for CodegenResults
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 616 bytes