# Constant rustc_mir_build::build::coverageinfo::mcdc::MAX_CONDITIONS_NUM_IN_DECISION

source ·

    const MAX_CONDITIONS_NUM_IN_DECISION: usize = 6;

Expand description

The MCDC bitmap scales exponentially (2^n) based on the number of conditions seen, So llvm sets a maximum value prevents the bitmap footprint from growing too large without the user’s knowledge. This limit may be relaxed if the upstream change is merged.