Skip to main content

MAX_NESTING_DEPTH

Constant MAX_NESTING_DEPTH 

Source
pub const MAX_NESTING_DEPTH: usize = 64;
Expand description

The maximum nesting depth walked before reporting a runaway tree.

Cost breakdowns are authored by humans and are shallow in practice; a tree deeper than this is a malformed or adversarial file, not a real estimate.