Skip to main content

ZERO_CONTRACTS_EXIT

Constant ZERO_CONTRACTS_EXIT 

Source
pub const ZERO_CONTRACTS_EXIT: i32 = 2;
Expand description

Exit status of a refused empty corpus.

1 means “the corpus was measured and failed”; 2 means “nothing was measured” — the invocation itself is wrong, which is also what clap returns for a usage error. A caller treating both as failure is unchanged; one that wants to tell them apart now can.