Function rustc_monomorphize::collector::should_codegen_locally
source · 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.