cairo_lang_compiler::project

Function update_crate_root

Source
pub fn update_crate_root(
    db: &mut dyn SemanticGroup,
    config: &ProjectConfig,
    crate_identifier: &CrateIdentifier,
    root: Directory,
)
Expand description

Updates a single crate root from a ProjectConfig. If the crate defines settings in the config, it will be used. Crate is identified by name and the root directory.