Skip to main content

load_config

Function load_config 

Source
pub fn load_config(
    entry: &MachineEntry,
    text: &str,
) -> Result<Config, ConfigError>
Expand description

A config file for a machine, as a front end loads it. The machine’s default config is the schema: a key it does not have is refused by name, so that a misspelt key cannot pass silently. [bounds] has its own check (analysis::bounds), and a rating that the default config leaves out may be there.