[][src]Function lrl_test_compiler::environment::validate_driver_args

fn validate_driver_args(
    res: CompilerResult<()>,
    given_args: &Option<BTreeMap<String, u16>>,
    driver_fields: &Option<Vec<BTreeMap<String, String>>>
) -> CompilerResult<()>

Compare the given arguments with the required driver fields. If any arguments are not provided or any undefined arguments are provided, return a failed CompilerResult.