Struct rustc_codegen_ssa::ModuleCodegen [−][src]
pub struct ModuleCodegen<M> {
pub name: String,
pub module_llvm: M,
pub kind: ModuleKind,
}Fields
name: StringExpand description
The name of the module. When the crate may be saved between compilations, incremental compilation requires that name be unique amongst all crates. Therefore, it should contain something unique to this crate (e.g., a module path) as well as the crate name and disambiguator. We currently generate these names via CodegenUnit::build_cgu_name().
module_llvm: Mkind: ModuleKindImplementations
impl<M> ModuleCodegen<M>[src]
impl<M> ModuleCodegen<M>[src]pub fn into_compiled_module(
self,
emit_obj: bool,
emit_dwarf_obj: bool,
emit_bc: bool,
outputs: &OutputFilenames
) -> CompiledModule[src]
self,
emit_obj: bool,
emit_dwarf_obj: bool,
emit_bc: bool,
outputs: &OutputFilenames
) -> CompiledModule
Trait Implementations
impl<HCX, M> HashStable<HCX> for ModuleCodegen<M>[src]
impl<HCX, M> HashStable<HCX> for ModuleCodegen<M>[src]fn hash_stable(&self, _: &mut HCX, _: &mut StableHasher)[src]
Auto Trait Implementations
impl<M> RefUnwindSafe for ModuleCodegen<M> where
M: RefUnwindSafe,
M: RefUnwindSafe,
impl<M> Send for ModuleCodegen<M> where
M: Send,
M: Send,
impl<M> Sync for ModuleCodegen<M> where
M: Sync,
M: Sync,
impl<M> Unpin for ModuleCodegen<M> where
M: Unpin,
M: Unpin,
impl<M> UnwindSafe for ModuleCodegen<M> where
M: UnwindSafe,
M: UnwindSafe,