MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / run_thin_lto

Method run_thin_lto

crates/rustc_codegen_spirv/src/lib.rs:315–321  ·  view source on GitHub ↗
(
        cgcx: &CodegenContext<Self>,
        modules: Vec<(String, Self::ThinBuffer)>,
        cached_modules: Vec<(SerializedModule<Self::ModuleBuffer>, WorkProduct)>,
    )

Source from the content-addressed store, hash-verified

313 }
314
315 fn run_thin_lto(
316 cgcx: &CodegenContext<Self>,
317 modules: Vec<(String, Self::ThinBuffer)>,
318 cached_modules: Vec<(SerializedModule<Self::ModuleBuffer>, WorkProduct)>,
319 ) -> Result<(Vec<LtoModuleCodegen<Self>>, Vec<WorkProduct>), FatalError> {
320 link::run_thin(cgcx, modules, cached_modules)
321 }
322
323 fn print_pass_timings(&self) {
324 println!("TODO: Implement print_pass_timings");

Callers

nothing calls this directly

Calls 1

run_thinFunction · 0.85

Tested by

no test coverage detected