Skip to main content

compute_env_delta

Function compute_env_delta 

Source
pub fn compute_env_delta(
    ctx: &Ctx,
    registry: &Registry,
    cwd: &Path,
) -> Result<EnvDelta>
Expand description

Compute the env delta for the directory cwd: for each backend with an active + installed version, collect its bin dirs and exec env. Invalid dynamic-tool inventory aborts activation instead of producing a partial environment that could route around the configured tool.