Skip to main content

apply_overlay

Function apply_overlay 

Source
pub fn apply_overlay(
    options: CompileOptions,
    root: &Path,
    overlay: HashMap<PathBuf, String>,
) -> Result<CompileOptions, OverlayError>
Expand description

Layer overlay over options’ sources for the project rooted at root (the directory the build was pointed at). See the module doc for which paths are accepted.