Closed
Description
Location
https://doc.rust-lang.org/std/thread/#stack-size
Summary
This says
The default stack size for spawned threads is 2 MiB, though this particular stack size is subject to change in the future.
This is not correct, because it implies this is true for all platforms, but each platform sets their own default stack size. Even amongst unices, 2mib isn't always the case.
rust/library/std/src/sys/unix/thread.rs
Lines 14 to 21 in 02cd79a