Function starlark_dialect_build_targets::populate_environment [−][src]
pub fn populate_environment(
env: &mut Environment,
type_values: &mut TypeValues,
context: EnvironmentContext
) -> Result<(), EnvironmentError>
Populate a Starlark environment with state.
This sets variables (as opposed to type values) and is suitable to call on a child environment when the parent environment is already frozen.