<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/windows, 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>2024-01-11T19:10:25+00:00</updated>
<entry>
<title>std: begin moving platform support modules into `pal`</title>
<updated>2024-01-11T19:10:25+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-01-11T19:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99128b7e45f8b95d962da2e6ea584767f0c85455'/>
<id>urn:sha1:99128b7e45f8b95d962da2e6ea584767f0c85455</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use FileEndOfFileInfo, not FileAllocationInfo</title>
<updated>2023-12-17T17:57:33+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-12-17T17:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e585b0ed58b8b5bd3dd3b549be7e7313bbd7ce25'/>
<id>urn:sha1:e585b0ed58b8b5bd3dd3b549be7e7313bbd7ce25</id>
<content type='text'>
This fixes WINE support
</content>
</entry>
<entry>
<title>Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkin</title>
<updated>2023-12-14T11:14:03+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-14T11:14:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1aa6aefdc92555b3fbc5ae4c99365df9845a3e31'/>
<id>urn:sha1:1aa6aefdc92555b3fbc5ae4c99365df9845a3e31</id>
<content type='text'>
use c literals in compiler and library

Relands refreshed https://github.com/rust-lang/rust/pull/111647
</content>
</entry>
<entry>
<title>Auto merge of #116438 - ChrisDenton:truncate, r=thomcc</title>
<updated>2023-12-13T02:27:12+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-13T02:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=77d16997566dfb2384bcbc504e2579c7ae973666'/>
<id>urn:sha1:77d16997566dfb2384bcbc504e2579c7ae973666</id>
<content type='text'>
Windows: Allow `File::create` to work on hidden files

This makes `OpenOptions::new().write(true).create(true).truncate(true).open(&amp;path)` work if the path exists and is a hidden file. Previously it would fail with access denied.

This makes it consistent with `OpenOptions::new().write(true).truncate(true).open(&amp;path)` (note the lack of `create`) which does not have this restriction. It's also more consistent with other platforms.

Fixes #115745 (see that issue for more details).
</content>
</entry>
<entry>
<title>library: fix comment about const assert in win api</title>
<updated>2023-12-06T10:52:30+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2023-12-06T10:45:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ff9648808921746dcd08c050c7ff8918c3551b9'/>
<id>urn:sha1:7ff9648808921746dcd08c050c7ff8918c3551b9</id>
<content type='text'>
</content>
</entry>
<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 #118060 - ChrisDenton:abs-device-path, r=thomcc</title>
<updated>2023-11-24T07:23:53+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-11-24T07:23:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2d6480f536196b8075d5fd451a70fca8f04a3f5'/>
<id>urn:sha1:b2d6480f536196b8075d5fd451a70fca8f04a3f5</id>
<content type='text'>
Use an absolute path to the NUL device

While a bare "NUL" *should* be redirected to the NUL device, especially in this simple case, let's be explicit that we aren't opening a file called "NUL" and instead open it directly.

This will also set a good example for people copying std code.

r? libs
</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>x fmt library/std</title>
<updated>2023-11-22T13:17:02+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-22T00:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b9fe367b9993c33a022411fd08e3da0081abacfd'/>
<id>urn:sha1:b9fe367b9993c33a022411fd08e3da0081abacfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>redundant_slicing</title>
<updated>2023-11-22T13:17:02+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-22T00:10:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c8ebf174c3201ec6333e8bf2df291b88e338d35'/>
<id>urn:sha1:6c8ebf174c3201ec6333e8bf2df291b88e338d35</id>
<content type='text'>
</content>
</entry>
</feed>
