about summary refs log tree commit diff
path: root/compiler/rustc_traits/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2021-05-03 11:39:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2021-05-18 11:22:04 -0700
commit641d3b09f41b441f2c2618de32983ad3d13ea3f8 (patch)
treeb170d00257ffb463cba8b5d235622d7aa13f0f43 /compiler/rustc_traits/src
parent716394d6581b60c75cfdd88b8e5b876f2db88b62 (diff)
downloadrust-641d3b09f41b441f2c2618de32983ad3d13ea3f8.tar.gz
rust-641d3b09f41b441f2c2618de32983ad3d13ea3f8.zip
std: Attempt again to inline thread-local-init across crates
Issue #25088 has been part of `thread_local!` for quite some time now.
Historical attempts have been made to add `#[inline]` to `__getit`
in #43931, #50252, and #59720, but these attempts ended up not landing
at the time due to segfaults on Windows.

In the interim though with `const`-initialized thread locals AFAIK this
is the only remaining bug which is why you might want to use
`#[thread_local]` over `thread_local!`. As a result I figured it was
time to resubmit this and see how it fares on CI and if I can help
debugging any issues that crop up.

Closes #25088
Diffstat (limited to 'compiler/rustc_traits/src')
0 files changed, 0 insertions, 0 deletions