<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/thread, branch 1.40.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.40.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.40.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-10-22T17:23:10+00:00</updated>
<entry>
<title>Apply clippy::single_match suggestion</title>
<updated>2019-10-22T17:23:10+00:00</updated>
<author>
<name>Mateusz Mikuła</name>
<email>matti@marinelayer.io</email>
</author>
<published>2019-09-05T12:08:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bedbf3bacbff36a477dcf28523cbf6cab67e9e0a'/>
<id>urn:sha1:bedbf3bacbff36a477dcf28523cbf6cab67e9e0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #64765 - alexcrichton:less-check-backtrace, r=sfackler</title>
<updated>2019-10-06T04:54:51+00:00</updated>
<author>
<name>Tyler Mandry</name>
<email>tmandry@gmail.com</email>
</author>
<published>2019-10-06T04:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae2a720e92f78e76db5b7c1d6308fcd87d5c5281'/>
<id>urn:sha1:ae2a720e92f78e76db5b7c1d6308fcd87d5c5281</id>
<content type='text'>
std: Reduce checks for `feature = "backtrace"`

This is a stylistic change to libstd to reduce the number of checks of
`feature = "backtrace"` now that we unconditionally depend on the
`backtrace` crate and rely on it having an empty implementation.
otherwise.
</content>
</entry>
<entry>
<title>std: Reduce checks for `feature = "backtrace"`</title>
<updated>2019-09-25T13:43:49+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2019-09-25T13:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d06058a77beffb6347c77b51e12889b7bd9fc76'/>
<id>urn:sha1:1d06058a77beffb6347c77b51e12889b7bd9fc76</id>
<content type='text'>
This is a stylistic change to libstd to reduce the number of checks of
`feature = "backtrace"` now that we unconditionally depend on the
`backtrace` crate and rely on it having an empty implementation.
otherwise.
</content>
</entry>
<entry>
<title>updated the panic message wording</title>
<updated>2019-09-16T04:13:02+00:00</updated>
<author>
<name>Tomas Tauber</name>
<email>2410580+tomtau@users.noreply.github.com</email>
</author>
<published>2019-09-16T04:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=68c3739f1268e496c096d89ab9e556f196e35974'/>
<id>urn:sha1:68c3739f1268e496c096d89ab9e556f196e35974</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Made a thread local storage panic message more explanatory</title>
<updated>2019-09-15T05:35:02+00:00</updated>
<author>
<name>Tomas Tauber</name>
<email>2410580+tomtau@users.noreply.github.com</email>
</author>
<published>2019-09-14T02:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df7789c902eb198a107422dd8e4e4c81ec3cb6ad'/>
<id>urn:sha1:df7789c902eb198a107422dd8e4e4c81ec3cb6ad</id>
<content type='text'>
(TLS is usually understood as Transport Layer Security
outside rust-std internals)
</content>
</entry>
<entry>
<title>Auto merge of #61491 - stjepang:impls-for-accesserror, r=dtolnay</title>
<updated>2019-08-05T15:30:40+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-08-05T15:30:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6ecdc2f61b96de199be956cad853a7c02bcfb58'/>
<id>urn:sha1:f6ecdc2f61b96de199be956cad853a7c02bcfb58</id>
<content type='text'>
Add a few trait impls for AccessError
</content>
</entry>
<entry>
<title>Add #[stable] to Error impl</title>
<updated>2019-08-04T13:11:08+00:00</updated>
<author>
<name>Stjepan Glavina</name>
<email>stjepang@gmail.com</email>
</author>
<published>2019-08-04T13:11:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d2c9c125460ae019c04594dbbe5f204db6add70d'/>
<id>urn:sha1:d2c9c125460ae019c04594dbbe5f204db6add70d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove run-pass test suites</title>
<updated>2019-07-27T15:56:17+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-07-26T23:26:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42a317a1cd53a0324427a61aee98c17be350df3b'/>
<id>urn:sha1:42a317a1cd53a0324427a61aee98c17be350df3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a few trait impls for AccessError</title>
<updated>2019-06-20T07:30:45+00:00</updated>
<author>
<name>Stjepan Glavina</name>
<email>stjepang@gmail.com</email>
</author>
<published>2019-06-03T16:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6c3196d02c88887491433b31d92221d0ef0fa43'/>
<id>urn:sha1:d6c3196d02c88887491433b31d92221d0ef0fa43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton</title>
<updated>2019-06-20T02:36:49+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-06-20T02:36:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c805ce183840bd20bd81a54a02b3c8b6dccc9dd'/>
<id>urn:sha1:3c805ce183840bd20bd81a54a02b3c8b6dccc9dd</id>
<content type='text'>
macos tlv workaround

fixes: #60141

Includes:
* remove dead code: `requires_move_before_drop`. This hasn't been needed for a while now (oops I should have removed it in #57655)
* redox had a copy of `fast::Key` (not sure why?). That has been removed.
* Perform a `read_volatile` on OSX to reduce `tlv_get_addr` calls per `__getit` from (4-2 depending on context) to 1.

`tlv_get_addr` is relatively expensive (~1.5ns on my machine).

Previously, in contexts where `__getit` was inlined, 4 calls to `tlv_get_addr` were performed per lookup. For some reason when `__getit` is not inlined this is reduced to 2x - and performance improves to match.

After this PR, I have only ever seen 1x call to `tlv_get_addr` per `__getit`, and macos now benefits from situations where `__getit` is inlined.

I'm not sure if the `read_volatile(&amp;&amp;__KEY)` trick is working around an LLVM bug, or a rustc bug, or neither.

r? @alexcrichton
</content>
</entry>
</feed>
