Skip to main content

check_project

Function check_project 

Source
pub fn check_project(options: &CompileOptions) -> ProjectCheck
Expand description

Check a project without building (finding #64) — never bails after discovery (Mode::Analyse, the same mode analyse_project_with already uses for the editor), so a diagnostic anywhere in the project does not suppress diagnostics elsewhere. compile_project’s Mode::Build bails at the first structural error and returns only what it collected up to that point — correct for build/test, which must not emit past a real error, but wrong for check, whose only job is to report everything. bynk check’s directory path calls this instead of compile_project.