Skip to main content

runner_environment

Function runner_environment 

Source
pub fn runner_environment(
    defaults: Vec<(&'static str, OsString)>,
    file: &RunnerEnv,
) -> Vec<(OsString, OsString)>
Expand description

The variables a native runner starts with on top of the daemon’s environment, in the order they must be applied: the platform defaults, then file. Applied in order the last value for a name wins, as it does for Command::env, so file overrides a default of the same name.