needs_allocator_shim_for_linking

Function needs_allocator_shim_for_linking 

Source
pub(crate) fn needs_allocator_shim_for_linking(
    dependency_formats: &Dependencies,
    crate_type: CrateType,
) -> bool
Expand description

Decide if this particular crate type needs an allocator shim linked in. This may return true even when allocator_kind_for_codegen returns false. In this case no allocator shim shall be linked.