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

Method join_codegen

crates/rustc_codegen_spirv/src/lib.rs:255–269  ·  view source on GitHub ↗
(
        &self,
        ongoing_codegen: Box<dyn Any>,
        sess: &Session,
        _outputs: &OutputFilenames,
    )

Source from the content-addressed store, hash-verified

253 }
254
255 fn join_codegen(
256 &self,
257 ongoing_codegen: Box<dyn Any>,
258 sess: &Session,
259 _outputs: &OutputFilenames,
260 ) -> Result<(CodegenResults, FxHashMap<WorkProductId, WorkProduct>), ErrorGuaranteed> {
261 let (codegen_results, work_products) = ongoing_codegen
262 .downcast::<OngoingCodegen<Self>>()
263 .expect("Expected OngoingCodegen, found Box<Any>")
264 .join(sess);
265
266 sess.compile_status()?;
267
268 Ok((codegen_results, work_products))
269 }
270
271 fn link(
272 &self,

Callers

nothing calls this directly

Calls 1

expectMethod · 0.80

Tested by

no test coverage detected