Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
54567ef
Clarify that RUST_MIN_STACK is internally cached
seanlinsley Mar 16, 2023
6eef755
Update mod.rs
seanlinsley Mar 17, 2023
65c9c79
remove obsolete test
TDecking Apr 10, 2023
171f541
don't uniquify regions when canonicalizing
lcnr Apr 11, 2023
43e6f99
remove issue-2718.rs test
lcnr Apr 11, 2023
722e078
Remove useless match.
nnethercote Apr 13, 2023
c18773a
Make `mk_bound_region` closure more generic.
nnethercote Apr 13, 2023
5e51b2d
Correctly handle built-in compiler proc-macros as proc-macro and not …
GuillaumeGomez Apr 13, 2023
80c4323
Add test to ensure that compiler built-in proc-macro are considered a…
GuillaumeGomez Apr 13, 2023
cd868dc
Cover edge cases for {f32, f64}.hypot() docs
jmaargh Apr 13, 2023
dcc51f1
change usage of bound_impl_subject to impl_subject
kylematsuda Apr 13, 2023
e2f5a5a
make tcx.impl_subject return EarlyBinder, remove bound_impl_subject, …
kylematsuda Apr 13, 2023
36febe1
Improve safe transmute error reporting
bryangarza Apr 6, 2023
8d5ee1a
make impl_subject more readable
kylematsuda Apr 13, 2023
7dbd2e2
Remove one use of `BrAnon(Some(_))`.
nnethercote Apr 13, 2023
f07c335
Remove another use of `BrAnon(Some(_))`.
nnethercote Apr 13, 2023
b335c2d
Assemble Unpin candidates specially for generators in new solver
compiler-errors Apr 11, 2023
319c790
Move auto trait built-in candidate disqualification to a separate method
compiler-errors Apr 12, 2023
c68c6c3
Add test for uniquifying regions
compiler-errors Apr 14, 2023
ec08676
Rollup merge of #109225 - seanlinsley:patch-1, r=ChrisDenton
matthiaskrgr Apr 14, 2023
c6223e1
Rollup merge of #109800 - bryangarza:safe-transmute-improved-errors, …
matthiaskrgr Apr 14, 2023
2e39e15
Rollup merge of #110158 - TDecking:obsolete_test, r=ChrisDenton
matthiaskrgr Apr 14, 2023
44db7c3
Rollup merge of #110180 - lcnr:canonicalize, r=compiler-errors
matthiaskrgr Apr 14, 2023
69d7172
Rollup merge of #110207 - compiler-errors:new-solver-unpin, r=lcnr
matthiaskrgr Apr 14, 2023
f3c6955
Rollup merge of #110276 - nnethercote:rm-BrAnon-Span, r=jackh726
matthiaskrgr Apr 14, 2023
35bd52e
Rollup merge of #110279 - GuillaumeGomez:compiler-macro-derive, r=not…
matthiaskrgr Apr 14, 2023
a7889d1
Rollup merge of #110298 - jmaargh:jmaargh/hypot-docs-edge-cases, r=th…
matthiaskrgr Apr 14, 2023
610bc68
Rollup merge of #110299 - kylematsuda:earlybinder-impl-subject, r=com…
matthiaskrgr Apr 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Clarify that RUST_MIN_STACK is internally cached
For larger applications it's important that users set `RUST_MIN_STACK`
at the start of their program because `min_stack` caches the value.
Not doing so can lead to their `env::set_var` call surprisingly not having any effect.
  • Loading branch information
seanlinsley authored Mar 16, 2023
commit 54567efda7c08d04383001456976f0f2e43bbfbd
3 changes: 2 additions & 1 deletion library/std/src/thread/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
//!
//! * 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
//! size (in bytes). Note that setting [`Builder::stack_size`] will override this.
//! size (in bytes). Note that setting [`Builder::stack_size`] will override this. Also, note
//! that `RUST_MIN_STACK` is cached internally so should be set before any threads are started.
//!
//! Note that the stack size of the main thread is *not* determined by Rust.
//!
Expand Down