Skip to main content

run_check

Function run_check 

Source
pub fn run_check(prog: &str, input: &Path, short: bool) -> ExitCode
Expand description

The check command body shared by bynkc check and bynk check: a directory routes through project::check_project (finding #64 — non-bailing, so a structural error anywhere does not hide diagnostics elsewhere the way compile_project’s bail-fast Mode::Build would), a single file through bynk_emit::compile_with_warnings. short selects the one-line --format short rendering. prog prefixes messages (bynk: …).