cargo::ops::cargo_config

Function maybe_env

Source
fn maybe_env<'gctx>(
    gctx: &'gctx GlobalContext,
    key: &ConfigKey,
    cv: &ConfigValue,
) -> Option<Vec<(&'gctx str, &'gctx str)>>
Expand description

Checks for environment variables that might be used.