<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/solid/net.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-11-08T01:51:59+00:00</updated>
<entry>
<title>kmc-solid: Implement `{From,Into}Inner&lt;OwnedFd&gt;` for `Socket`</title>
<updated>2023-11-08T01:51:59+00:00</updated>
<author>
<name>Tomoaki Kawada</name>
<email>kawada@kmckk.co.jp</email>
</author>
<published>2023-08-23T10:06:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=46bc247bd145f3357acb07b7f146ec9514e0a193'/>
<id>urn:sha1:46bc247bd145f3357acb07b7f146ec9514e0a193</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kmc-solid: Remove `FileDesc`</title>
<updated>2023-11-08T01:51:57+00:00</updated>
<author>
<name>Tomoaki Kawada</name>
<email>kawada@kmckk.co.jp</email>
</author>
<published>2023-11-08T01:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d1e4ddf0354e51e3520abfbd32a394f497d3f3b'/>
<id>urn:sha1:6d1e4ddf0354e51e3520abfbd32a394f497d3f3b</id>
<content type='text'>
Removes the private type `std::sys::solid::net::FileDesc`, replacing its
only usage in `std::sys::solid::net::Socket` with `std::os::solid::io::
OwnedFd`.
</content>
</entry>
<entry>
<title>kmc-solid: Replace `{From,Into}Inner&lt;c_int&gt;` impls with `*RawFd` for `Socket`</title>
<updated>2023-11-08T01:48:49+00:00</updated>
<author>
<name>Tomoaki Kawada</name>
<email>kawada@kmckk.co.jp</email>
</author>
<published>2023-08-23T10:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbfab81f3d3fe678c20ed8861fcddda98198db68'/>
<id>urn:sha1:cbfab81f3d3fe678c20ed8861fcddda98198db68</id>
<content type='text'>
Follows how other targets are implemented.
</content>
</entry>
<entry>
<title>Make TCP connect() handle EINTR correctly</title>
<updated>2023-10-13T11:12:56+00:00</updated>
<author>
<name>Denis Smirnov</name>
<email>sd@picodata.io</email>
</author>
<published>2023-10-05T09:04:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfadd177a9738de289a3a6d4b39c08d94f384c1a'/>
<id>urn:sha1:dfadd177a9738de289a3a6d4b39c08d94f384c1a</id>
<content type='text'>
According to the POSIX standard, if connect() is interrupted by a
signal that is caught while blocked waiting to establish a connection,
connect() shall fail and set errno to EINTR, but the connection
request shall not be aborted, and the connection shall be established
asynchronously.

If asynchronous connection was successfully established after EINTR
and before the next connection attempt, OS returns EISCONN that was
handled as an error before. This behavior is fixed now and we handle
it as success.

The problem affects MacOS users: Linux doesn't return EISCONN in this
case, Windows connect() can not be interrupted without an old-fashoin
WSACancelBlockingCall function that is not used in the library.
So current solution gives connect() as OS specific implementation.
</content>
</entry>
<entry>
<title>kmc-solid: Refactor `is_interrupted` to avoid integer overflow</title>
<updated>2023-09-01T02:55:48+00:00</updated>
<author>
<name>Tomoaki Kawada</name>
<email>kawada@kmckk.co.jp</email>
</author>
<published>2023-09-01T02:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb627ea3392c37cd94e7696dca683ef596c8b66c'/>
<id>urn:sha1:eb627ea3392c37cd94e7696dca683ef596c8b66c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a new helper to avoid calling io::Error::kind</title>
<updated>2023-08-26T01:26:06+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-08-25T21:54:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1abaf40ec818dfc0a0ad50e6e772cce60acc8477'/>
<id>urn:sha1:1abaf40ec818dfc0a0ad50e6e772cce60acc8477</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inline AsInner implementations</title>
<updated>2023-05-01T11:25:09+00:00</updated>
<author>
<name>Konrad Borowski</name>
<email>konrad@borowski.pw</email>
</author>
<published>2023-05-01T11:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=174c0e86ca953a200d4a1afabe7a17e55f9783c2'/>
<id>urn:sha1:174c0e86ca953a200d4a1afabe7a17e55f9783c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kmc-solid: Implement `Socket::read_buf`</title>
<updated>2023-04-11T03:00:36+00:00</updated>
<author>
<name>Tomoaki Kawada</name>
<email>kawada@kmckk.co.jp</email>
</author>
<published>2023-04-11T03:00:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72bfd55d4b15053df3801eb920ce23032685cf1b'/>
<id>urn:sha1:72bfd55d4b15053df3801eb920ce23032685cf1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kmc-solid: Adapt to a recent change in the `IntoInner` impl of `SocketAddr`</title>
<updated>2022-08-01T07:08:24+00:00</updated>
<author>
<name>Tomoaki Kawada</name>
<email>kawada@kmckk.co.jp</email>
</author>
<published>2022-08-01T06:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bfbda8110720d3a467b2c791bcaa18531df43a3a'/>
<id>urn:sha1:bfbda8110720d3a467b2c791bcaa18531df43a3a</id>
<content type='text'>
`(x: SocketAddr).into_inner()` evaluates to `(SocketAddrCRepr,
socklen_t)` instead of `(*const sockaddr, socklen_t)` as of
commit 55e23db13.
</content>
</entry>
<entry>
<title>Use implicit capture syntax in format_args</title>
<updated>2022-03-10T15:23:40+00:00</updated>
<author>
<name>T-O-R-U-S</name>
<email>bageliq@protonmail.com</email>
</author>
<published>2022-02-12T19:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72a25d05bf1a4b155d74139ef700ff93af6d8e22'/>
<id>urn:sha1:72a25d05bf1a4b155d74139ef700ff93af6d8e22</id>
<content type='text'>
This updates the standard library's documentation to use the new syntax. The
documentation is worthwhile to update as it should be more idiomatic
(particularly for features like this, which are nice for users to get acquainted
with). The general codebase is likely more hassle than benefit to update: it'll
hurt git blame, and generally updates can be done by folks updating the code if
(and when) that makes things more readable with the new format.

A few places in the compiler and library code are updated (mostly just due to
already having been done when this commit was first authored).
</content>
</entry>
</feed>
