MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / compile_codegen_unit

Method compile_codegen_unit

crates/rustc_codegen_nvvm/src/lib.rs:284–290  ·  view source on GitHub ↗
(
        &self,
        tcx: TyCtxt<'_>,
        cgu_name: rustc_span::Symbol,
    )

Source from the content-addressed store, hash-verified

282 }
283
284 fn compile_codegen_unit(
285 &self,
286 tcx: TyCtxt<'_>,
287 cgu_name: rustc_span::Symbol,
288 ) -> (rustc_codegen_ssa::ModuleCodegen<Self::Module>, u64) {
289 back::compile_codegen_unit(tcx, cgu_name)
290 }
291
292 fn target_machine_factory(
293 &self,

Callers

nothing calls this directly

Calls 1

compile_codegen_unitFunction · 0.85

Tested by

no test coverage detected