<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/os_str/bytes.rs, branch 1.88.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.88.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.88.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-01T06:56:39+00:00</updated>
<entry>
<title>Make internal `OsString::truncate` and `extend_from_slice` unsafe</title>
<updated>2025-05-01T06:56:39+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-11T09:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7cb357a36b96781f9ff85f8a4168382243352ba1'/>
<id>urn:sha1:7cb357a36b96781f9ff85f8a4168382243352ba1</id>
<content type='text'>
Communicate the safety invariants of these methods with `unsafe fn`
rather than privacy.
</content>
</entry>
<entry>
<title>Specialize OsString::push for strings</title>
<updated>2025-02-28T21:42:31+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-28T07:38:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8d78fec52aec04254ec602851c4fd7c8469c592'/>
<id>urn:sha1:a8d78fec52aec04254ec602851c4fd7c8469c592</id>
<content type='text'>
When concatenating two WTF-8 strings, surrogate pairs at the boundaries
need to be joined. However, since UTF-8 strings cannot contain surrogate
halves, this check can be skipped when one string is UTF-8. Specialize
`OsString::push` to use a more efficient concatenation in this case.

Unfortunately, a specialization for `T: AsRef&lt;str&gt;` conflicts with
`T: AsRef&lt;OsStr&gt;`, so stamp out string types with a macro.
</content>
</entry>
<entry>
<title>Synchronize platform adaptors for OsString/OsStr</title>
<updated>2025-02-16T23:21:46+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-06T23:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05e4175d79a7e8f2fc11c3d2ae70bb31a354f130'/>
<id>urn:sha1:05e4175d79a7e8f2fc11c3d2ae70bb31a354f130</id>
<content type='text'>
* Order items as the average of the two adaptors. Enables easier diffs.
* Consistently apply #[inline].
* Implement FromInner&lt;Vec&lt;u8&gt;&gt; for bytes::Buf.
* Implement Clone::clone_from for wtf8::Buf.
</content>
</entry>
<entry>
<title>Make `CloneToUninit` dyn-compatible</title>
<updated>2024-11-12T21:08:41+00:00</updated>
<author>
<name>Zachary S</name>
<email>zasample18+github@gmail.com</email>
</author>
<published>2024-11-01T05:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e0c1c8bc5058cd3f8831b235c5963ab89840b33b'/>
<id>urn:sha1:e0c1c8bc5058cd3f8831b235c5963ab89840b33b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `&amp;raw` in the standard library</title>
<updated>2024-09-26T00:03:20+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2024-09-26T00:03:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4d9d1a0eaf7e5de8c368ac5af500adf9e06f6e7'/>
<id>urn:sha1:f4d9d1a0eaf7e5de8c368ac5af500adf9e06f6e7</id>
<content type='text'>
Since the stabilization in #127679 has reached stage0, 1.82-beta, we can
start using `&amp;raw` freely, and even the soft-deprecated `ptr::addr_of!`
and `ptr::addr_of_mut!` can stop allowing the unstable feature.

I intentionally did not change any documentation or tests, but the rest
of those macro uses are all now using `&amp;raw const` or `&amp;raw mut` in the
standard library.
</content>
</entry>
<entry>
<title>Sparkle some attributes over `CloneToUninit` stuff</title>
<updated>2024-07-29T17:44:42+00:00</updated>
<author>
<name>Pavel Grigorenko</name>
<email>GrigorenkoPV@ya.ru</email>
</author>
<published>2024-06-24T15:09:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dbc13fb309f3a1539e8bb1cdeeb5fbb2e3eaaa43'/>
<id>urn:sha1:dbc13fb309f3a1539e8bb1cdeeb5fbb2e3eaaa43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>impl CloneToUninit for Path and OsStr</title>
<updated>2024-07-29T17:44:39+00:00</updated>
<author>
<name>Pavel Grigorenko</name>
<email>GrigorenkoPV@ya.ru</email>
</author>
<published>2024-06-23T20:05:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afabc583f7f646d45f506263a1c331383ebdc252'/>
<id>urn:sha1:afabc583f7f646d45f506263a1c331383ebdc252</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>`PathBuf::as_mut_vec` removed and verified for UEFI and Windows platforms #126333</title>
<updated>2024-06-25T13:36:34+00:00</updated>
<author>
<name>ash</name>
<email>97464181+Borgerr@users.noreply.github.com</email>
</author>
<published>2024-06-25T13:34:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa46a3368eb017eba41bfab956c7787d46c09935'/>
<id>urn:sha1:aa46a3368eb017eba41bfab956c7787d46c09935</id>
<content type='text'>
</content>
</entry>
<entry>
<title>inner truncate methods for UEFI platforms</title>
<updated>2024-06-25T13:36:34+00:00</updated>
<author>
<name>ash</name>
<email>97464181+Borgerr@users.noreply.github.com</email>
</author>
<published>2024-06-23T14:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b08cd69684e4b121399b3ea0f9ee6cc4a51cad07'/>
<id>urn:sha1:b08cd69684e4b121399b3ea0f9ee6cc4a51cad07</id>
<content type='text'>
</content>
</entry>
</feed>
