Skip to main content

try_read_build_config_with

Function try_read_build_config_with 

Source
pub fn try_read_build_config_with(
    project_root: &Path,
    overlay: &HashMap<PathBuf, String>,
) -> Result<BuildConfig, ProjectPathsError>
Expand description

Read bynk.toml’s [build] table, honouring overlay the way try_read_workers_config_with does. No manifest, or no [build], is the empty BuildConfig; a bad value is ProjectPathsError::BadBuild.