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