pub fn thread_stack_size() -> usizeExpand description
Returns the stack size of compiler threads: RUST_MIN_STACK if set, or 16 MiB.
Like rustc, we do not grow the stack manually: deeply nested input recurses deeply, and the OS commits stack pages only when they are used, so a large limit costs nothing until it is needed.