MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / new_archive_builder

Method new_archive_builder

src/lib.rs:1683–1688  ·  view source on GitHub ↗
(&self, sess: &'a Session)

Source from the content-addressed store, hash-verified

1681 .flat_map(|cgu| cgu.items_in_deterministic_order(tcx))
1682 .filter_map(|(item, _)| match item {
1683 MonoItem::Fn(instance) => Some(instance),
1684 MonoItem::Static(_) | MonoItem::GlobalAsm(_) => None,
1685 })
1686 .collect();
1687
1688 let generated_classes = std::thread::scope(|scope| {
1689 let worker_count = std::thread::available_parallelism()
1690 .map_or(1, std::num::NonZeroUsize::get)
1691 .min(MAX_CODEGEN_WORKERS);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected