Skip to main content

WORKER_STACK_SIZE

Constant WORKER_STACK_SIZE 

Source
pub const WORKER_STACK_SIZE: usize = _; // 16_777_216usize
Expand description

Worker stack size for analysis thread pools.

Recursive AST extraction and analysis overflow the default Rayon worker stack on deeply nested sources, so every pool that runs analysis work must be built with this size. The CLI global pool and the programmatic per-call pools share this builder so embedders cannot drift.