pub const MAX_CALL_DEPTH: usize = 128;Expand description
How deeply functions may call each other before the app stops with an error. The interpreter takes roughly 10 KB of native stack per call in debug builds, so this stops runaway recursion well before a 2 MB thread stack overflows.