<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys_common, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-21T00:31:33+00:00</updated>
<entry>
<title>Move WTF-8 code from std to core/alloc</title>
<updated>2025-08-21T00:31:33+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2025-08-13T05:16:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2914291e09cb13aab64207f9e11f2aaf74de3904'/>
<id>urn:sha1:2914291e09cb13aab64207f9e11f2aaf74de3904</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Copy WTF-8 code into core/alloc (for better diffs)</title>
<updated>2025-08-21T00:31:33+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2025-08-13T05:16:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a2fceefd312ec027bdeaa89ebefbe4c33d94de1'/>
<id>urn:sha1:5a2fceefd312ec027bdeaa89ebefbe4c33d94de1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid abbreviating "numerator" as "numer", to allow catching typo "numer" elsewhere</title>
<updated>2025-08-09T22:01:58+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-09T18:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c503487a6f1402ed37051e435af0c410a3815b14'/>
<id>urn:sha1:c503487a6f1402ed37051e435af0c410a3815b14</id>
<content type='text'>
`typos.toml` has an exception for "numer", to avoid flagging its use as
an abbreviation for "numerator". Remove the use of that abbrevation,
spelling out "numerator" instead, and remove the exception, so that typo
checks can find future instances of "numer" as a typo for "number".
</content>
</entry>
<entry>
<title>docs: clarify “dag” in std::sys_common doc comment</title>
<updated>2025-07-11T03:53:47+00:00</updated>
<author>
<name>Colten</name>
<email>70793703+ColtenOuO@users.noreply.github.com</email>
</author>
<published>2025-07-08T17:59:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c11029acef45da169dd6713c48e9fdd98d606b5'/>
<id>urn:sha1:3c11029acef45da169dd6713c48e9fdd98d606b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make `OsString::new` and `PathBuf::new` unstably const</title>
<updated>2025-05-24T20:33:11+00:00</updated>
<author>
<name>cyrgani</name>
<email>ansgar.w.zielke@gmail.com</email>
</author>
<published>2025-05-24T20:33:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fab206bf5852c532f85b9ad30f9eea8fc952e8e1'/>
<id>urn:sha1:fab206bf5852c532f85b9ad30f9eea8fc952e8e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: get rid of `sys_common::process`</title>
<updated>2025-04-28T09:13:50+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-03-27T13:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5f145689b1c0a313ee737de296a57d1479c18cb5'/>
<id>urn:sha1:5f145689b1c0a313ee737de296a57d1479c18cb5</id>
<content type='text'>
Move the public `CommandEnvs` into the `process` module (and make it a wrapper type for an internal iterator type) and everything else into `sys::process` as per #117276.
</content>
</entry>
<entry>
<title>Move fs into sys</title>
<updated>2025-03-09T00:22:37+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-26T01:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=685619e4c93e3b30da36b013ab62c4cf8931b432'/>
<id>urn:sha1:685619e4c93e3b30da36b013ab62c4cf8931b432</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Skip scanning for surrogates when not known valid</title>
<updated>2025-02-20T02:43:24+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-07T19:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb14652770451022d424a1c301a4416514464932'/>
<id>urn:sha1:eb14652770451022d424a1c301a4416514464932</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add fast path for displaying pre-validated Wtf8Buf</title>
<updated>2025-02-20T02:43:24+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-06T03:37:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0842f2c65c766301be488256a18d89e90c3b6304'/>
<id>urn:sha1:0842f2c65c766301be488256a18d89e90c3b6304</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #137155 - thaliaarchi:wtf8-organize, r=ChrisDenton</title>
<updated>2025-02-19T20:16:12+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-19T20:16:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3964bb131b3b7a24f20803d8efe3bd1d76fc5abc'/>
<id>urn:sha1:3964bb131b3b7a24f20803d8efe3bd1d76fc5abc</id>
<content type='text'>
Organize `OsString`/`OsStr` shims

Synchronize the `bytes.rs` and `wtf8.rs` shims for `OsString`/`OsStr` so they're easier to diff between each other. This is mostly ordering items the same between the two. I tried to minimize moves and went for the average locations between the files.

With them in the same order, it is clear that `FromInner&lt;_&gt;` is not implemented for `bytes::Buf` and `Clone::clone_from` is not implemented for `wtf8::Buf`, but they are for the other. Fix that.

I added #[inline] to all inherent methods of the `OsString`/`OsStr` shims, because it seemed that was already the rough pattern. `bytes.rs` has more inlining than `wtf8.rs`, so I added the corresponding ones to `wtf8.rs`. Then, the common missing ones have no discernible pattern to me. They're not divided by non-allocating/allocating. Perhaps the pattern is that UTF-8 validation isn't inlined? Since these types are merely the inner values in `OsStr`/`OsString`, I put inline on all methods and let those public types dictate inlining. I have not inspected codegen or run benchmarks.

Also, touch up some (private) documentation comments.

r? ``````@ChrisDenton``````
</content>
</entry>
</feed>
