(&self, sess: &'a Session)
| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected