<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/windows/process.rs, 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>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>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_closure</title>
<updated>2023-11-22T13:00:29+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-21T23:45:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=220217af135198ed950133f9785d93df1d49097c'/>
<id>urn:sha1:220217af135198ed950133f9785d93df1d49097c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unnecessary_cast</title>
<updated>2023-11-22T13:00:29+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-21T23:40:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e42456a0defc5839b505edfa5ec7f9d7aa3644f'/>
<id>urn:sha1:9e42456a0defc5839b505edfa5ec7f9d7aa3644f</id>
<content type='text'>
casting to the same type is unnecessary
</content>
</entry>
<entry>
<title>needless_borrows_for_generic_args</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:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42734599bd613efee41d0a508e0fc60ea6d86058'/>
<id>urn:sha1:42734599bd613efee41d0a508e0fc60ea6d86058</id>
<content type='text'>
the borrowed expression implements the required traits
</content>
</entry>
<entry>
<title>Use an absolute path to the NUL device</title>
<updated>2023-11-19T16:24:39+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-11-19T16:24:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3a486c1feb0a4846a3bcff0dda5182dc9c762ba2'/>
<id>urn:sha1:3a486c1feb0a4846a3bcff0dda5182dc9c762ba2</id>
<content type='text'>
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.
</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>Auto merge of #114590 - ijackson:stdio-stdio-2, r=dtolnay</title>
<updated>2023-09-09T19:56:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-09T19:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=559421e8e3ab373a296186104b7b0c18251e8182'/>
<id>urn:sha1:559421e8e3ab373a296186104b7b0c18251e8182</id>
<content type='text'>
Allow redirecting subprocess stdout to our stderr etc. (redux)

This is the code from #88561, tidied up, including review suggestions, and with the for-testing-only CI commit removed.  FCP for the API completed in #88561.

I have made a new MR to facilitate review.  The discussion there is very cluttered and the branch is full of changes (in many cases as a result of changes to other Rust stdlib APIs since then).  Assuming this MR is approvedl we should close that one.

### Reviewer doing a de novo review

Just code review these four commits..  FCP discussion starts here: https://github.com/rust-lang/rust/pull/88561#issuecomment-1640527595

Portability tests: you can see that this branch works on Windows too by looking at the CI results in #88561, which has the same code changes as this branch but with an additional "DO NOT MERGE" commit to make the Windows tests run.

### Reviewer doing an incremental review from some version of #88561

Review the new commits since your last review.  I haven't force pushed the branch there.

git diff the two branches (eg `git diff 176886197d6..0842b69c219`).  You'll see that the only difference is in gitlab CI files.  You can also see that *this* MR doesn't touch those files.
</content>
</entry>
<entry>
<title>Command::spawn: Fix STARTUPINFOW.cb being initialized with the address of size_of</title>
<updated>2023-09-03T15:04:42+00:00</updated>
<author>
<name>Fulgen301</name>
<email>Fulgen301@users.noreply.github.com</email>
</author>
<published>2023-09-03T15:04:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8b0e44e86c944350b2064f5c0f297346bf0c32c'/>
<id>urn:sha1:a8b0e44e86c944350b2064f5c0f297346bf0c32c</id>
<content type='text'>
</content>
</entry>
</feed>
