Skip to main content

try_run

Function try_run 

Source
pub fn try_run(
    settings: &Settings,
    ext: &External,
    program: &str,
    args: &[String],
    judged: Judged<'_>,
) -> bool
Expand description

Run ext on the cluster if it is the cluster’s to run. true: it passed there and the pass is recorded; the caller reports Passed. false: the caller runs it here, as it always has — either it was never the cluster’s (no line logged), or the cluster did not prove it (the reason is logged).