<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/thread, branch 1.44.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.44.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.44.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-03-30T12:37:44+00:00</updated>
<entry>
<title>Add inline attributes for functions used in the query system</title>
<updated>2020-03-30T12:37:44+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2020-03-30T12:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87cdfb6e71b0ebe3e41e04d8840a20d7428197be'/>
<id>urn:sha1:87cdfb6e71b0ebe3e41e04d8840a20d7428197be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Return NonZeroU64 from ThreadId::as_u64.</title>
<updated>2020-03-21T18:48:23+00:00</updated>
<author>
<name>Thomas Bächler</name>
<email>thomas.baechler@gmx.de</email>
</author>
<published>2020-03-21T18:48:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c8140a88f67cf1fea104b1aaa615af7816984615'/>
<id>urn:sha1:c8140a88f67cf1fea104b1aaa615af7816984615</id>
<content type='text'>
As discussed in #67939, this allows turning Option&lt;ThreadId&gt; into Option&lt;NonZeroU64&gt; which
can then be stored inside an AtomicU64.
</content>
</entry>
<entry>
<title>Add an unstable conversion from thread ID to u64</title>
<updated>2020-01-06T15:56:13+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-12-23T17:54:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d9a7db901e33940cb2ccda6afe21b9916e66d9d2'/>
<id>urn:sha1:d9a7db901e33940cb2ccda6afe21b9916e66d9d2</id>
<content type='text'>
We see multiple cases inside rustc and ecosystem code where ThreadId is
transmuted to u64, exploiting the underlying detail. This is suboptimal
(can break unexpectedly if we change things in std).

It is unlikely that ThreadId will ever need to be larger than u64 --
creating even 2^32 threads over the course of a program is quite hard,
2^64 is even harder. As such, we do not choose to return a larger sized
type (e.g. u128). If we choose to shrink ThreadId in the future, or
otherwise change its internals, it is likely that a mapping to u64 will
still be applicable (though may become more complex).
</content>
</entry>
<entry>
<title>Format the world</title>
<updated>2019-12-22T22:42:47+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-12-22T22:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a06baa56b95674fc626b3c3fd680d6a65357fe60'/>
<id>urn:sha1:a06baa56b95674fc626b3c3fd680d6a65357fe60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Require issue = "none" over issue = "0" in unstable attributes</title>
<updated>2019-12-21T11:16:18+00:00</updated>
<author>
<name>Ross MacArthur</name>
<email>ross@macarthur.io</email>
</author>
<published>2019-12-21T11:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3'/>
<id>urn:sha1:f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format libstd with rustfmt</title>
<updated>2019-11-30T02:43:27+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2019-11-27T18:29:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4436c9d35498e7ae3da261f6141d6d73b915e1e8'/>
<id>urn:sha1:4436c9d35498e7ae3da261f6141d6d73b915e1e8</id>
<content type='text'>
This commit applies rustfmt with rust-lang/rust's default settings to
files in src/libstd *that are not involved in any currently open PR* to
minimize merge conflicts. THe list of files involved in open PRs was
determined by querying GitHub's GraphQL API with this script:
https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8

With the list of files from the script in outstanding_files, the
relevant commands were:

    $ find src/libstd -name '*.rs' \
        | xargs rustfmt --edition=2018 --unstable-features --skip-children
    $ rg libstd outstanding_files | xargs git checkout --

Repeating this process several months apart should get us coverage of
most of the rest of libstd.

To confirm no funny business:

    $ git checkout $THIS_COMMIT^
    $ git show --pretty= --name-only $THIS_COMMIT \
        | xargs rustfmt --edition=2018 --unstable-features --skip-children
    $ git diff $THIS_COMMIT  # there should be no difference
</content>
</entry>
<entry>
<title>Rollup merge of #66146 - 3442853561:patch-2, r=Mark-Simulacrum</title>
<updated>2019-11-07T00:20:45+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2019-11-07T00:20:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=de401900b4d25b4a01c5f3e34554f9a656f89f84'/>
<id>urn:sha1:de401900b4d25b4a01c5f3e34554f9a656f89f84</id>
<content type='text'>
Remove unused parameters in `__thread_local_inner`

Fixes #65993.
</content>
</entry>
<entry>
<title>Try with crate::error::Error</title>
<updated>2019-11-06T16:45:46+00:00</updated>
<author>
<name>Pyry Kontio</name>
<email>pyry.kontio@drasa.eu</email>
</author>
<published>2019-11-06T16:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8568204f4e934ff93817f948b13a9c804277a6bf'/>
<id>urn:sha1:8568204f4e934ff93817f948b13a9c804277a6bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update local.rs</title>
<updated>2019-11-06T08:39:48+00:00</updated>
<author>
<name>3442853561</name>
<email>21147967+3442853561@users.noreply.github.com</email>
</author>
<published>2019-11-06T08:39:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=936349c81b59581c7c3a834a6b61eb94168e2807'/>
<id>urn:sha1:936349c81b59581c7c3a834a6b61eb94168e2807</id>
<content type='text'>
Removed parameters not used in the macro</content>
</entry>
<entry>
<title>Fix the Error linking.</title>
<updated>2019-11-06T07:59:53+00:00</updated>
<author>
<name>Pyry Kontio</name>
<email>pyry.kontio@drasa.eu</email>
</author>
<published>2019-11-06T07:57:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4317263a311ad4adc54529b5fdcfe1e18fb651be'/>
<id>urn:sha1:4317263a311ad4adc54529b5fdcfe1e18fb651be</id>
<content type='text'>
</content>
</entry>
</feed>
