<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/pal/windows/c.rs, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<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>UWP: link ntdll functions using raw-dylib</title>
<updated>2025-07-07T15:39:31+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-07-07T15:39:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2412f8921ce39b986664e27c71b07f0ae24ac100'/>
<id>urn:sha1:2412f8921ce39b986664e27c71b07f0ae24ac100</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Workaround for mem safety in third party dlls</title>
<updated>2025-06-28T09:59:42+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-06-27T17:45:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=953cf27c7a38d2e9a706fc1ce6dbbcc1242bd770'/>
<id>urn:sha1:953cf27c7a38d2e9a706fc1ce6dbbcc1242bd770</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Windows: Use anonymous pipes in Command</title>
<updated>2025-06-15T16:56:50+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-06-14T17:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0e1db54b7eba50b79ff318eb31bf44e0c7b6a4c2'/>
<id>urn:sha1:0e1db54b7eba50b79ff318eb31bf44e0c7b6a4c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update windows-bindgen to 0.61.0</title>
<updated>2025-04-04T16:41:40+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-04-04T16:41:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b12153e3557318900675a0ab3fe1581ecf9d9e2'/>
<id>urn:sha1:8b12153e3557318900675a0ab3fe1581ecf9d9e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lazy load NtOpenFile for UWP</title>
<updated>2025-03-09T14:42:17+00:00</updated>
<author>
<name>bdbai</name>
<email>bdbaiapp@163.com</email>
</author>
<published>2025-03-09T14:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=33c6c3a1e99d7838ff44a275b6eabd32d6c5c52f'/>
<id>urn:sha1:33c6c3a1e99d7838ff44a275b6eabd32d6c5c52f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>library: Use size_of from the prelude instead of imported</title>
<updated>2025-03-07T04:20:38+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-03-05T04:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=988eb1997014987caad878699ee1e7c000214508'/>
<id>urn:sha1:988eb1997014987caad878699ee1e7c000214508</id>
<content type='text'>
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
</content>
</entry>
<entry>
<title>Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306</title>
<updated>2025-02-19T10:05:37+00:00</updated>
<author>
<name>Li Keqing</name>
<email>auroracloud4096@gmail.com</email>
</author>
<published>2025-02-19T10:05:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35febd7a6d57179f41cb5b4a37f9545915e4d7a5'/>
<id>urn:sha1:35febd7a6d57179f41cb5b4a37f9545915e4d7a5</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>sys/windows: remove miri hack that is only needed for win7</title>
<updated>2024-10-13T10:30:23+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-13T10:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ae3b1b09a09ec9c034c4cc4ba822b11c2ccbd26'/>
<id>urn:sha1:2ae3b1b09a09ec9c034c4cc4ba822b11c2ccbd26</id>
<content type='text'>
</content>
</entry>
</feed>
