cargo::util::context::target

Function get_target_applies_to_host

Source
pub(super) fn get_target_applies_to_host(
    gctx: &GlobalContext,
) -> CargoResult<bool>
Expand description

Returns true if the [target] table should be applied to host targets.