<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/thread-local.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update some codegen tests for opaque pointers</title>
<updated>2022-05-25T15:29:37+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2022-02-21T10:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d7ff4e5096625b56f154fa485a1af9351c41b5c'/>
<id>urn:sha1:4d7ff4e5096625b56f154fa485a1af9351c41b5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update test assertion</title>
<updated>2022-01-17T15:20:46+00:00</updated>
<author>
<name>Krasimir Georgiev</name>
<email>Mister Nobody the Robot</email>
</author>
<published>2022-01-17T15:20:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4607ff9804f3d2ae7feaf7d76fae48a52d798c3'/>
<id>urn:sha1:e4607ff9804f3d2ae7feaf7d76fae48a52d798c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update codegen test for LLVM 14</title>
<updated>2022-01-17T14:57:08+00:00</updated>
<author>
<name>Krasimir Georgiev</name>
<email>Mister Nobody the Robot</email>
</author>
<published>2022-01-17T14:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=853feb6964a9d531d802573f5a44d85e4d2a41b6'/>
<id>urn:sha1:853feb6964a9d531d802573f5a44d85e4d2a41b6</id>
<content type='text'>
Fixes https://github.com/rust-lang/rust/issues/93003.
</content>
</entry>
<entry>
<title>std: Stabilize the `thread_local_const_init` feature</title>
<updated>2021-11-29T15:23:46+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2021-11-29T15:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0c959750abec28bb875be492c5f0532920a8907'/>
<id>urn:sha1:a0c959750abec28bb875be492c5f0532920a8907</id>
<content type='text'>
This commit is intended to follow the stabilization disposition of the
FCP that has now finished in #84223. This stabilizes the ability to flag
thread local initializers as `const` expressions which enables the macro
to generate more efficient code for accessing it, notably removing
runtime checks for initialization.

More information can also be found in #84223 as well as the tests where
the feature usage was removed in this PR.

Closes #84223
</content>
</entry>
<entry>
<title>std: Attempt again to inline thread-local-init across crates</title>
<updated>2021-05-18T18:22:04+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2021-05-03T18:39:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=641d3b09f41b441f2c2618de32983ad3d13ea3f8'/>
<id>urn:sha1:641d3b09f41b441f2c2618de32983ad3d13ea3f8</id>
<content type='text'>
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
</content>
</entry>
</feed>
