<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/windows/c.rs, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-03T11:54:09+00:00</updated>
<entry>
<title>library: use c string literals</title>
<updated>2023-12-03T11:54:09+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2023-12-03T11:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0134887d2b4cbac421babcd40710cc9b755f931'/>
<id>urn:sha1:c0134887d2b4cbac421babcd40710cc9b755f931</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #117656 - ChrisDenton:invalid, r=thomcc</title>
<updated>2023-11-24T07:23:52+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-11-24T07:23:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e3ec1b0e25915fb16ae43223752a25d50e3ce0f'/>
<id>urn:sha1:7e3ec1b0e25915fb16ae43223752a25d50e3ce0f</id>
<content type='text'>
Update windows-bindgen and define `INVALID_HANDLE_VALUE` ourselves

We generate bindings to the Windows API via the `windows-bindgen` crate, which is ultimately what's also used to generate the `windows-sys` and `windows` crates. However, there currently is some custom sauce just for std which makes it a bit different from the vanilla bindings. I would love for us to reduce and eventually remove the differences entirely so that std is using the exact same bindings as everyone else. Maybe in the future we can even just have a normal dependency on `windows-sys`.

This PR removes one of those special things. Our definition of `INVALID_HANDLE_VALUE` relies on an experimental nightly feature for strict provenance, so lets bring that back in house. It also excludes it from the codegen step though that isn't strictly necessary as we override it in any case.

This PR also updates windows-bingen to 0.52.0.
</content>
</entry>
<entry>
<title>manual_slice_size_calculation</title>
<updated>2023-11-22T13:00:28+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-21T23:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe255695f9ceb2417350d4d355ce35bfe5ad695b'/>
<id>urn:sha1:fe255695f9ceb2417350d4d355ce35bfe5ad695b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow clippy style in windows/c.rs</title>
<updated>2023-11-22T00:14:46+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-21T22:59:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad12be3668de26dc1b35bb374e93b2bab58d02ae'/>
<id>urn:sha1:ad12be3668de26dc1b35bb374e93b2bab58d02ae</id>
<content type='text'>
We intentional use the Windows API style here.
</content>
</entry>
<entry>
<title>Define `INVALID_HANDLE_VALUE` ourselves</title>
<updated>2023-11-17T12:03:41+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-07T05:42:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df58704701569ec53de043eb5ebf34248f78c1ac'/>
<id>urn:sha1:df58704701569ec53de043eb5ebf34248f78c1ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove libc</title>
<updated>2023-10-05T23:35:00+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-10-05T23:35:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c8f3aa451a0b50051980cf22d5ca35d7f515b43b'/>
<id>urn:sha1:c8f3aa451a0b50051980cf22d5ca35d7f515b43b</id>
<content type='text'>
We don't use much libc on Windows.
</content>
</entry>
<entry>
<title>Update windows ffi bindings</title>
<updated>2023-08-28T19:12:00+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-08-16T08:18:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d9c85daa51bb131696a62a9653debf8ab8d1de07'/>
<id>urn:sha1:d9c85daa51bb131696a62a9653debf8ab8d1de07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "use c literals in library"</title>
<updated>2023-07-05T11:11:26+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2023-07-04T17:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9dbe67fc8c722bc8df4a6a792677a93a073773f4'/>
<id>urn:sha1:9dbe67fc8c722bc8df4a6a792677a93a073773f4</id>
<content type='text'>
This reverts commit f212ba6d6d60963c8101bb24fc3e53fca80c046f.
</content>
</entry>
<entry>
<title>Auto merge of #113001 - ChrisDenton:win-arm32-shim, r=thomcc</title>
<updated>2023-06-25T11:27:19+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-06-25T11:27:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c51fbb3dd3a75fd43d51c0c29ca645c3dac99aae'/>
<id>urn:sha1:c51fbb3dd3a75fd43d51c0c29ca645c3dac99aae</id>
<content type='text'>
Move windows-sys arm32 shim to c.rs

This moves the arm32 shim in to c.rs instead of appending to the generated file itself.

This makes it simpler to change these workarounds if/when needed. The downside is we need to exclude a couple of functions from being generated (see the comment). A metadata solution could help here but they'll be easy enough to add back if that happens.
</content>
</entry>
<entry>
<title>Remove unnecessary `path` attribute</title>
<updated>2023-06-24T18:56:29+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-06-24T18:56:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2eff0d4ab43946ea23998f1d48d7b4af5a71664'/>
<id>urn:sha1:e2eff0d4ab43946ea23998f1d48d7b4af5a71664</id>
<content type='text'>
</content>
</entry>
</feed>
