<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/personality/gcc.rs, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-16T12:28:31+00:00</updated>
<entry>
<title>library: Migrate from `cfg_if` to `cfg_select`</title>
<updated>2025-08-16T12:28:31+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-10T21:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ae4a0cc3487f28b29f36afe8056535afad21e7b'/>
<id>urn:sha1:1ae4a0cc3487f28b29f36afe8056535afad21e7b</id>
<content type='text'>
Migrate the standard library from using the external `cfg_if` crate to
using the now-built-in `cfg_select` macro.

This does not yet eliminate the dependency from
`library/std/Cargo.toml`, because while the standard library itself no
longer uses `cfg_if`, it also incorporates the `backtrace` crate, which
does.

Migration assisted by the following vim command (after selecting the
full `cfg_if!` invocation):

```
'&lt;,'&gt;s/\(cfg_if::\)\?cfg_if/cfg_select/ | '&lt;,'&gt;s/^\( *\)} else {/\1}\r\1_ =&gt; {/c | '&lt;,'&gt;s/^\( *\)} else if #\[cfg(\(.*\))\] /\1}\r\1\2 =&gt; /e | '&lt;,'&gt;s/if #\[cfg(\(.*\))\] {/\1 =&gt; {/e
```

This is imperfect, but substantially accelerated the process. This
prompts for confirmation on the `} else {` since that can also appear
inside one of the arms. This also requires manual intervention to handle
any multi-line conditions.
</content>
</entry>
<entry>
<title>Add new Tier-3 targets: `loongarch32-unknown-none*`</title>
<updated>2025-06-06T00:19:38+00:00</updated>
<author>
<name>WANG Rui</name>
<email>wangrui@loongson.cn</email>
</author>
<published>2025-01-09T12:35:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38d69c3f571b668c82cfb90e5bea8bc86530530c'/>
<id>urn:sha1:38d69c3f571b668c82cfb90e5bea8bc86530530c</id>
<content type='text'>
MCP: https://github.com/rust-lang/compiler-team/issues/865
</content>
</entry>
<entry>
<title>Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboet</title>
<updated>2025-03-17T09:47:49+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-03-17T09:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3b7a3b8d2bef30c82df92600d0cd7cef460b441'/>
<id>urn:sha1:b3b7a3b8d2bef30c82df92600d0cd7cef460b441</id>
<content type='text'>
Add std support to cygwin target
</content>
</entry>
<entry>
<title>make `_Unwind_Action` a type alias, not enum</title>
<updated>2025-03-16T20:32:41+00:00</updated>
<author>
<name>Noratrieb</name>
<email>48135649+Noratrieb@users.noreply.github.com</email>
</author>
<published>2025-03-16T20:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f20a6c70fb7a1b9bf1b855e6d1e711c1afd6bb48'/>
<id>urn:sha1:f20a6c70fb7a1b9bf1b855e6d1e711c1afd6bb48</id>
<content type='text'>
It's bitflags in practice, so an enum is unsound, as an enum must only
have the described values. The x86_64 psABI declares it as a `typedef
int _Unwind_Action`, which seems reasonable. I made a newtype first but
that was more annoying than just a typedef. We don't really use this
value for much other than a short check.
</content>
</entry>
<entry>
<title>Fix panic handler for cygwin</title>
<updated>2025-03-12T07:48:05+00:00</updated>
<author>
<name>Berrysoft</name>
<email>Strawberry_Str@hotmail.com</email>
</author>
<published>2025-03-12T07:48:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd385f3064f558d4bba19a0447f8b08208915dc9'/>
<id>urn:sha1:bd385f3064f558d4bba19a0447f8b08208915dc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark extern blocks as unsafe</title>
<updated>2025-02-09T17:11:13+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-07T19:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a4e7f8f9bf10588cb5519ae09a15be155499901f'/>
<id>urn:sha1:a4e7f8f9bf10588cb5519ae09a15be155499901f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update link to "C++ Exceptions under the hood" blog</title>
<updated>2024-11-29T10:46:34+00:00</updated>
<author>
<name>Martin Kröning</name>
<email>martin.kroening@eonerc.rwth-aachen.de</email>
</author>
<published>2024-11-29T10:46:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27c4c3a9785b9fd0278e1bb23a3ddc07e3e9de0a'/>
<id>urn:sha1:27c4c3a9785b9fd0278e1bb23a3ddc07e3e9de0a</id>
<content type='text'>
The link was introduced in 0ec321f7b541fcbfbf20286beb497e6d9d3352b2.
For the old link see https://web.archive.org/web/20170409223244/https://monoinfinito.wordpress.com/series/exception-handling-in-c/.
The blog has migrated from WordPress to Blogger in 2021 and to GitHub pages in 2024.
</content>
</entry>
<entry>
<title>Fix linking error when compiling for 32-bit watchOS</title>
<updated>2024-09-08T07:12:31+00:00</updated>
<author>
<name>Mads Marquart</name>
<email>mads@marquart.dk</email>
</author>
<published>2024-09-07T15:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f98ca32b0a594b1ee59e22e1927198ed03eb0ce7'/>
<id>urn:sha1:f98ca32b0a594b1ee59e22e1927198ed03eb0ce7</id>
<content type='text'>
In https://github.com/rust-lang/rust/pull/124748, I mistakenly conflated
"not SjLj" to mean "ARM EHABI", which isn't true, watchOS armv7k
(specifically only that architecture) uses a third unwinding method
called "DWARF CFI".
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>std: update comments on gcc personality fn</title>
<updated>2024-07-24T23:17:52+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2024-07-24T18:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c9cd4a68532fb963cc8b9074242848baa3bd73cc'/>
<id>urn:sha1:c9cd4a68532fb963cc8b9074242848baa3bd73cc</id>
<content type='text'>
</content>
</entry>
</feed>
