<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/common/thread_local, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-11T19:10:25+00:00</updated>
<entry>
<title>std: begin moving platform support modules into `pal`</title>
<updated>2024-01-11T19:10:25+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-01-11T19:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99128b7e45f8b95d962da2e6ea584767f0c85455'/>
<id>urn:sha1:99128b7e45f8b95d962da2e6ea584767f0c85455</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update test for `E0796` and `static_mut_ref` lint</title>
<updated>2024-01-07T14:29:25+00:00</updated>
<author>
<name>Obei Sideg</name>
<email>obei.sideg@gmail.com</email>
</author>
<published>2023-12-22T12:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8aa6878f63e53a9b0cfee542e9765407e1ca0d6'/>
<id>urn:sha1:a8aa6878f63e53a9b0cfee542e9765407e1ca0d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Minimal Std implementation for UEFI</title>
<updated>2023-09-22T11:53:30+00:00</updated>
<author>
<name>Ayush Singh</name>
<email>ayushsingh1325@gmail.com</email>
</author>
<published>2022-12-18T04:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48c6ae0611ec6fb4094a24610982ddefde16e20f'/>
<id>urn:sha1:48c6ae0611ec6fb4094a24610982ddefde16e20f</id>
<content type='text'>
Implemented modules:
1. alloc
2. os_str
3. env
4. math

Tracking Issue: https://github.com/rust-lang/rust/issues/100499
API Change Proposal: https://github.com/rust-lang/libs-team/issues/87

This was originally part of https://github.com/rust-lang/rust/pull/100316. Since
that PR was becoming too unwieldy and cluttered, and with suggestion
from @dvdhrm, I have extracted a minimal std implementation to this PR.

Signed-off-by: Ayush Singh &lt;ayushsingh1325@gmail.com&gt;
</content>
</entry>
<entry>
<title>remove additional [allow(unused_unsafe)]</title>
<updated>2023-07-24T21:56:38+00:00</updated>
<author>
<name>James Dietz</name>
<email>jamesthespeedy@gmail.com</email>
</author>
<published>2023-06-16T18:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db4a1534402a163f9296347d31796f070ae7c4e1'/>
<id>urn:sha1:db4a1534402a163f9296347d31796f070ae7c4e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>delete [allow(...)] from issue #74838</title>
<updated>2023-07-24T20:32:32+00:00</updated>
<author>
<name>James Dietz</name>
<email>jamesthespeedy@gmail.com</email>
</author>
<published>2023-05-08T17:18:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe0ef9a689d6298d0aa58dc3e491fc0066132fa7'/>
<id>urn:sha1:fe0ef9a689d6298d0aa58dc3e491fc0066132fa7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid unwind across `extern "C"` in `thread_local::fast_local.rs`</title>
<updated>2023-06-04T21:54:28+00:00</updated>
<author>
<name>Thom Chiovoloni</name>
<email>thom@shift.click</email>
</author>
<published>2023-06-04T21:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=70e1dc99672235ae34b6b3981bb0805f97c20179'/>
<id>urn:sha1:70e1dc99672235ae34b6b3981bb0805f97c20179</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #110946 - RalfJung:tls-realstd, r=m-ou-se</title>
<updated>2023-05-05T03:46:25+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2023-05-05T03:46:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d98e174497529883c266037a53bb03936c90bb5a'/>
<id>urn:sha1:d98e174497529883c266037a53bb03936c90bb5a</id>
<content type='text'>
avoid duplicating TLS state between test std and realstd

This basically re-lands https://github.com/rust-lang/rust/pull/100201 and https://github.com/rust-lang/rust/pull/106638, which got reverted by https://github.com/rust-lang/rust/pull/110861. This works around 2 Miri limitations:
- Miri doesn't support the magic linker section that our Windows TLS support relies on, and instead knows where in std to find the symbol that stores the thread callback.
- For macOS, Miri only supports at most one destructor to be registered per thread.

The 2nd would not be very hard to fix (though the intended destructor order is unclear); the first would be a lot of work to fix. Neither of these is a problem for regular Rust code, but in the std test suite we have essentially 2 copies of the std code and then these both become issues. To avoid that we have the std test crate import the TLS code from the real std instead of having its own copy.

r? ``````@m-ou-se``````
</content>
</entry>
<entry>
<title>Rollup merge of #110895 - Ayush1325:thread-local-fix, r=thomcc</title>
<updated>2023-05-02T06:14:52+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2023-05-02T06:14:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f47a63ca3dac0467fa42a950a7232e97989fc8b8'/>
<id>urn:sha1:f47a63ca3dac0467fa42a950a7232e97989fc8b8</id>
<content type='text'>
Remove `all` in target_thread_local cfg

I think it was left there by mistake after the previous refactoring. I just came across it while rebasing to master.
</content>
</entry>
<entry>
<title>handle cfg(bootstrap)</title>
<updated>2023-04-28T15:47:55+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2023-04-21T13:33:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a7bb8c78517102e375d4d04e5b2cac4f121c56e5'/>
<id>urn:sha1:a7bb8c78517102e375d4d04e5b2cac4f121c56e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>avoid duplicating TLS state between test std and realstd</title>
<updated>2023-04-28T15:24:16+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-04-28T12:27:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5e7ac53c7c4034f31cfc2fa4f0f7bded19ec8d2'/>
<id>urn:sha1:d5e7ac53c7c4034f31cfc2fa4f0f7bded19ec8d2</id>
<content type='text'>
</content>
</entry>
</feed>
