We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 911cbf8 + 0f93846 commit ddb1234Copy full SHA for ddb1234
library/std/src/thread/mod.rs
@@ -124,9 +124,8 @@
124
//!
125
//! ## Stack size
126
127
-//! The default stack size for spawned threads is 2 MiB, though this particular stack size is
128
-//! subject to change in the future. There are two ways to manually specify the stack size for
129
-//! spawned threads:
+//! The default stack size is platform-dependent and subject to change. Currently it is 2MB on all
+//! Tier-1 platforms. There are two ways to manually specify the stack size for spawned threads:
130
131
//! * Build the thread with [`Builder`] and pass the desired stack size to [`Builder::stack_size`].
132
//! * Set the `RUST_MIN_STACK` environment variable to an integer representing the desired stack
0 commit comments