<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src, branch 1.62.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.62.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.62.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-05-17T22:40:37+00:00</updated>
<entry>
<title>Revert "Add `set_inheritable` for Windows `Handle`s"</title>
<updated>2022-05-17T22:40:37+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2022-05-17T22:40:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61aebf7570fa2b270a1689482884f90a57185491'/>
<id>urn:sha1:61aebf7570fa2b270a1689482884f90a57185491</id>
<content type='text'>
This reverts commit b89b0567427932fe37851a314610d795258f1834.
</content>
</entry>
<entry>
<title>Revert "Windows: Make stdin pipes synchronous"</title>
<updated>2022-05-17T22:40:35+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2022-05-17T22:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79256566a9da361793eba86ff1a40caf1560903d'/>
<id>urn:sha1:79256566a9da361793eba86ff1a40caf1560903d</id>
<content type='text'>
This reverts commit 949b978ec9d63b0eea23d89bad16c6f022ac34a3.
</content>
</entry>
<entry>
<title>Revert "Note the importance of using sync pipes"</title>
<updated>2022-05-17T22:40:34+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2022-05-17T22:40:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fba04fdb141461aefb58d0ffb15857cfc146758f'/>
<id>urn:sha1:fba04fdb141461aefb58d0ffb15857cfc146758f</id>
<content type='text'>
This reverts commit 1e7c15634d3b81b595d669382e45e6e136c730e1.
</content>
</entry>
<entry>
<title>Auto merge of #95356 - coolreader18:exitstatus-exit-method, r=&lt;try&gt;</title>
<updated>2022-05-13T18:29:13+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-05-13T18:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ad4bde042cfaf56f7579160c60ebd8550a720ab'/>
<id>urn:sha1:9ad4bde042cfaf56f7579160c60ebd8550a720ab</id>
<content type='text'>
ExitCode::exit_process() method

cc `@yaahc` / #93840

(eeek, hit ctrl-enter before I meant to and right after realizing the branch name was wrong. oh, well)

I feel like it makes sense to have the `exit(ExitCode)` function as a method or at least associated function on ExitCode, but maybe that would hurt discoverability? Probably not as much if it's at the top of the `process::exit()` documentation or something, but idk. Also very unsure about the name, I'd like something that communicates that you are exiting with *this* ExitCode, but with a method name being postfix it doesn't seem to flow. `code.exit_process_with()` ? `.exit_process_with_self()` ? Blech. Maybe it doesn't matter, since ideally just `code.exit()` or something would be clear simply by the name and single parameter but :shrug:

Also I'd like to touch up the `ExitCode` docs (which I did a bit here), but that would probably be good in a separate PR, right? Since I think the beta deadline is coming up.
</content>
</entry>
<entry>
<title>Guarantee less in docs</title>
<updated>2022-05-13T18:28:24+00:00</updated>
<author>
<name>Noa</name>
<email>coolreader18@gmail.com</email>
</author>
<published>2022-05-12T04:29:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9e29d204e0d666b2a7724c15ffa24f988066eeb'/>
<id>urn:sha1:a9e29d204e0d666b2a7724c15ffa24f988066eeb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ExitCode::exit_process example</title>
<updated>2022-05-13T18:28:22+00:00</updated>
<author>
<name>Noa</name>
<email>coolreader18@gmail.com</email>
</author>
<published>2022-05-11T02:56:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=688dcc68fe2a4bcd781c24b36cfd101fb20a5a50'/>
<id>urn:sha1:688dcc68fe2a4bcd781c24b36cfd101fb20a5a50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #96932 - sunfishcode:sunfishcode/document-borrowed-handle, r=joshtriplett</title>
<updated>2022-05-13T03:33:10+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-05-13T03:33:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f38b7ff3b690a0720506250f421c5983d4f4f9ef'/>
<id>urn:sha1:f38b7ff3b690a0720506250f421c5983d4f4f9ef</id>
<content type='text'>
Clarify what values `BorrowedHandle`, `OwnedHandle` etc. can hold.

Reword the documentation to clarify that when `BorrowedHandle`, `OwnedHandle`, or `HandleOrNull` hold the value `-1`, it always means the current process handle, and not `INVALID_HANDLE_VALUE`.

`-1` should only mean `INVALID_HANDLE_VALUE` after a call to a function documented to return that to report errors, which should lead I/O functions to produce errors rather than succeeding and producing `OwnedHandle` or `BorrowedHandle` values. So if a consumer of an `OwnedHandle` or `BorrowedHandle` ever sees them holding a `-1`, it should always mean the current process handle.
</content>
</entry>
<entry>
<title>Fix comment syntax.</title>
<updated>2022-05-12T04:11:49+00:00</updated>
<author>
<name>Dan Gohman</name>
<email>dev@sunfishcode.online</email>
</author>
<published>2022-05-12T04:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=275812ad2cb0a5a9a8de88151438d1319a6f0704'/>
<id>urn:sha1:275812ad2cb0a5a9a8de88151438d1319a6f0704</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Relax the wording about the meaning of -1.</title>
<updated>2022-05-12T03:50:07+00:00</updated>
<author>
<name>Dan Gohman</name>
<email>dev@sunfishcode.online</email>
</author>
<published>2022-05-12T03:50:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=516a7fa6934c561e9fc1b357a57eb5f0adb89739'/>
<id>urn:sha1:516a7fa6934c561e9fc1b357a57eb5f0adb89739</id>
<content type='text'>
</content>
</entry>
<entry>
<title>HandleOrNull can hold null, and HandleOrInvalid can hold INVALID_HANDLE_VALUE.</title>
<updated>2022-05-11T13:40:52+00:00</updated>
<author>
<name>Dan Gohman</name>
<email>dev@sunfishcode.online</email>
</author>
<published>2022-05-11T13:36:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f75b4aaa64fb8bfb9635a879c1af52a5d68f662'/>
<id>urn:sha1:2f75b4aaa64fb8bfb9635a879c1af52a5d68f662</id>
<content type='text'>
</content>
</entry>
</feed>
