Skip to main content

STACK_BYTES

Constant STACK_BYTES 

Source
pub(crate) const STACK_BYTES: usize = _; // 16_777_216usize
Expand description

The stack the driver runs on. clap builds the whole command tree while parsing, which in a debug build takes most of a 1 MiB main-thread stack (the Windows default); every subcommand added pushes it nearer the edge, so the real main runs on a thread with room to spare.