<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/alloc/mod.rs, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<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>Apply rustc-0023-Add-Trusty-OS-support-to-Rust-std.patch</title>
<updated>2025-03-10T17:00:24+00:00</updated>
<author>
<name>Nicole LeGare</name>
<email>legare@google.com</email>
</author>
<published>2025-02-04T21:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87ca2dbb0054256a675e18ddb7098406db4e42ed'/>
<id>urn:sha1:87ca2dbb0054256a675e18ddb7098406db4e42ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: move allocators to `sys`</title>
<updated>2024-08-27T09:58:19+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-07-23T14:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d456814842e65a153a1de67960b892897a02ed14'/>
<id>urn:sha1:d456814842e65a153a1de67960b892897a02ed14</id>
<content type='text'>
</content>
</entry>
</feed>
