cairo_lang_compiler::project

Function update_crate_root

source
pub fn update_crate_root(
    db: &mut dyn SemanticGroup,
    config: &ProjectConfig,
    crate_name: SmolStr,
    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.