fn should_codegen_locally<'tcx>(
    tcx: TyCtxt<'tcx>,
    instance: &Instance<'tcx>
) -> bool
Expand description

Returns true if we should codegen an instance in the local crate, or returns false if we can just link to the upstream crate and therefore don’t need a mono item.