diff options
| author | bors <bors@rust-lang.org> | 2024-10-24 13:35:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-24 13:35:50 +0000 |
| commit | f61306d47bc98af8bb9d15f1adf6086785590a8c (patch) | |
| tree | 0500da4d67b3ec4f77a8cb011074779c5c0315fb /tests/rustdoc-ui/ignore-block-help.stderr | |
| parent | 5ae4d75effa366176dd75cd0d5662da26385cfc5 (diff) | |
| parent | 0747f2898e83df7e601189c0f31762e84328becb (diff) | |
| download | rust-f61306d47bc98af8bb9d15f1adf6086785590a8c.tar.gz rust-f61306d47bc98af8bb9d15f1adf6086785590a8c.zip | |
Auto merge of #123550 - GnomedDev:remove-initial-arc, r=Noratrieb
Remove the `Arc` rt::init allocation for thread info Removes an allocation pre-main by just not storing anything in std::thread::Thread for the main thread. - The thread name can just be a hard coded literal, as was done in #123433. - Storing ThreadId and Parker in a static that is initialized once at startup. This uses SyncUnsafeCell and MaybeUninit as this is quite performance critical and we don't need synchronization or to store a tag value and possibly leave in a panic.
Diffstat (limited to 'tests/rustdoc-ui/ignore-block-help.stderr')
0 files changed, 0 insertions, 0 deletions
