1
Fork 0

Update mod.rs

This commit is contained in:
Sean Linsley 2023-03-17 09:12:54 -05:00 committed by GitHub
parent 54567efda7
commit 6eef755012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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