INNER CODE UNIT · Rust
codegen_allocator
EmbarkStudios/rust-gpu · crates/rustc_codegen_spirv/src/lib.rs:392
fn codegen_allocator(
&self,
_: TyCtxt<'_>,
_: &str,
_: AllocatorKind,
_: AllocatorKind,
) -> Self::Module {
todo!()
}
fn compile_codegen_unit(
&self,
tcx: TyCtxt<'_>,
cgu_name: Symbol,
) -> (ModuleCodegen<Self::Module>, u64) {
let _timer = tcx
.prof
.verbose_generic_activity_with_arg("codegen_module", cgu_name.to_string());