Skip to content

Commit 6eef755

Browse files
authored
Update mod.rs
1 parent 54567ef commit 6eef755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/thread/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@
131131
//!
132132
//! * Build the thread with [`Builder`] and pass the desired stack size to [`Builder::stack_size`].
133133
//! * Set the `RUST_MIN_STACK` environment variable to an integer representing the desired stack
134-
//! size (in bytes). Note that setting [`Builder::stack_size`] will override this. Also, note
135-
//! that `RUST_MIN_STACK` is cached internally so should be set before any threads are started.
134+
//! size (in bytes). Note that setting [`Builder::stack_size`] will override this. Be aware that
135+
//! changes to `RUST_MIN_STACK` may be ignored after program start.
136136
//!
137137
//! Note that the stack size of the main thread is *not* determined by Rust.
138138
//!

0 commit comments

Comments
 (0)