Function cairo_lang_compiler::project::setup_single_file_project
source · pub fn setup_single_file_project(
db: &mut dyn SemanticGroup,
path: &Path,
) -> Result<CrateId, ProjectError>
Expand description
Setup to ‘db’ to compile the file at the given path. Returns the id of the generated crate.