<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sys_common/thread_info.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>2020-07-28T00:51:13+00:00</updated>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</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>libstd =&gt; 2018</title>
<updated>2019-02-27T19:06:15+00:00</updated>
<author>
<name>Taiki Endo</name>
<email>te316e89@gmail.com</email>
</author>
<published>2019-02-10T19:23:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93b6d9e086c6910118a57e4332c9448ab550931f'/>
<id>urn:sha1:93b6d9e086c6910118a57e4332c9448ab550931f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_driver: get rid of extra thread on Unix</title>
<updated>2018-03-18T14:05:28+00:00</updated>
<author>
<name>Tatsuyuki Ishi</name>
<email>ishitatsuyuki@gmail.com</email>
</author>
<published>2018-02-27T07:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e85c9227c2e913b71f0d7b6cc2322d7897f28554'/>
<id>urn:sha1:e85c9227c2e913b71f0d7b6cc2322d7897f28554</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a range to identify SIGSEGV in stack guards</title>
<updated>2018-01-31T19:41:29+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2018-01-31T19:41:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=55b54a999bcdb0b1c1f42b6e1ae670beb0717086'/>
<id>urn:sha1:55b54a999bcdb0b1c1f42b6e1ae670beb0717086</id>
<content type='text'>
Previously, the `guard::init()` and `guard::current()` functions were
returning a `usize` address representing the top of the stack guard,
respectively for the main thread and for spawned threads.  The `SIGSEGV`
handler on `unix` targets checked if a fault was within one page below
that address, if so reporting it as a stack overflow.

Now `unix` targets report a `Range&lt;usize&gt;` representing the guard
memory, so it can cover arbitrary guard sizes.  Non-`unix` targets which
always return `None` for guards now do so with `Option&lt;!&gt;`, so they
don't pay any overhead.

For `linux-gnu` in particular, the previous guard upper-bound was
`stackaddr + guardsize`, as the protected memory was *inside* the stack.
This was a glibc bug, and starting from 2.27 they are moving the guard
*past* the end of the stack.  However, there's no simple way for us to
know where the guard page actually lies, so now we declare it as the
whole range of `stackaddr ± guardsize`, and any fault therein will be
called a stack overflow.  This fixes #47863.
</content>
</entry>
<entry>
<title>use field init shorthand EVERYWHERE</title>
<updated>2017-08-15T22:29:17+00:00</updated>
<author>
<name>Zack M. Davis</name>
<email>code@zackmdavis.net</email>
</author>
<published>2017-08-07T05:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b6c9605e41b7c7dc23e0e6f633f05912d0463dd'/>
<id>urn:sha1:1b6c9605e41b7c7dc23e0e6f633f05912d0463dd</id>
<content type='text'>
Like #43008 (f668999), but _much more aggressive_.
</content>
</entry>
<entry>
<title>Use LocalKey::try_with in std</title>
<updated>2017-07-11T00:18:36+00:00</updated>
<author>
<name>Lee Bousfield</name>
<email>ljbousfield@gmail.com</email>
</author>
<published>2017-07-11T00:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a45c8b09e86ea4eed283a6163b44c493d15ee5c3'/>
<id>urn:sha1:a45c8b09e86ea4eed283a6163b44c493d15ee5c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: remove a workaround for privacy limitations that isn't necessary anymore</title>
<updated>2017-03-14T01:42:23+00:00</updated>
<author>
<name>Sean Gillespie</name>
<email>sean@swgillespie.me</email>
</author>
<published>2017-03-14T01:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1545f4e2a323eb869b13f36bd05cc91ff21d5161'/>
<id>urn:sha1:1545f4e2a323eb869b13f36bd05cc91ff21d5161</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Move sys_common to libstd/sys_common</title>
<updated>2016-11-01T17:08:24+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2016-09-30T23:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca30691813836e1c6896e5ba5d4397eb717e7270'/>
<id>urn:sha1:ca30691813836e1c6896e5ba5d4397eb717e7270</id>
<content type='text'>
Make the directory structure reflect the module structure. I've always
found the existing structure confusing.
</content>
</entry>
</feed>
