<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/args, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-03T03:08:28+00:00</updated>
<entry>
<title>Implement Iterator::last for vec::IntoIter</title>
<updated>2025-05-03T03:08:28+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-13T00:49:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbdd7134ff72aaf3679f4df2b2e4a0fe847edd06'/>
<id>urn:sha1:cbdd7134ff72aaf3679f4df2b2e4a0fe847edd06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Delegate to inner `vec::IntoIter` from `env::ArgsOs`</title>
<updated>2025-05-01T22:18:15+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-12T13:18:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28deaa6e0e7993f963b3bb44bb235c7682ce0cf3'/>
<id>urn:sha1:28deaa6e0e7993f963b3bb44bb235c7682ce0cf3</id>
<content type='text'>
Delegate from `std::env::ArgsOs` to the methods of the inner
platform-specific iterators, when it would be more efficient than just
using the default methods of its own impl. Most platforms use
`vec::IntoIter` as the inner type, so prioritize delegating to the
methods it provides.

`std::env::Args` is implemented atop `std::env::ArgsOs` and performs
UTF-8 validation with a panic for invalid data. This is a visible effect
which users certainly rely on, so we can't skip any arguments. Any
further iterator methods would skip some elements, so no change is
needed for that type.

Add `#[inline]` for any methods which simply wrap the inner iterator.
</content>
</entry>
<entry>
<title>use generic Atomic type where possible</title>
<updated>2025-04-26T23:18:08+00:00</updated>
<author>
<name>Christopher Durham</name>
<email>cad97@cad97.com</email>
</author>
<published>2024-09-19T04:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d93f6056824c338751f19356d33bb61ce818749'/>
<id>urn:sha1:4d93f6056824c338751f19356d33bb61ce818749</id>
<content type='text'>
in core/alloc/std only for now, and ignoring test files

Co-authored-by: Pavel Grigorenko &lt;GrigorenkoPV@ya.ru&gt;
</content>
</entry>
<entry>
<title>Unify owned `Env` types between platforms</title>
<updated>2025-04-22T05:38:22+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-22T05:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01485c9fe9a50b48fd4c78e7116dcaa2aeb87a40'/>
<id>urn:sha1:01485c9fe9a50b48fd4c78e7116dcaa2aeb87a40</id>
<content type='text'>
Also, update the same pattern of reuse in `sys::args` to match.
</content>
</entry>
<entry>
<title>Rollup merge of #139795 - jethrogb:jb/sgx-linkage-comments, r=joboet</title>
<updated>2025-04-21T18:53:16+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-04-21T18:53:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cac8bc3d1fbffe3aec1b791ad4f96e113a13c609'/>
<id>urn:sha1:cac8bc3d1fbffe3aec1b791ad4f96e113a13c609</id>
<content type='text'>
Clarify why SGX code specifies linkage/symbol names for certain statics

Specifying linkage/symbol name is solely to ensure a single instance between the `std` crate and its unit tests.

Also update the symbol names as items have moved around a bit. The actual name isn't that important, it just needs to be unique. But for debugging it can be useful for it to point to the right place.
</content>
</entry>
<entry>
<title>Clarify why SGX code specifies linkage/symbol names for certain statics</title>
<updated>2025-04-14T11:36:06+00:00</updated>
<author>
<name>Jethro Beekman</name>
<email>jethro@fortanix.com</email>
</author>
<published>2025-04-14T11:36:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8dc773296cf743af20b1174050431c29ba6a7427'/>
<id>urn:sha1:8dc773296cf743af20b1174050431c29ba6a7427</id>
<content type='text'>
Also update the symbol names as items have moved around a bit. The actual
name isn't that important, it just needs to be unique. But for debugging
it can be useful for it to point to the right place.
</content>
</entry>
<entry>
<title>Hermit: Unify std::env::args with Unix</title>
<updated>2025-04-13T21:35:22+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-12T10:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c1f0498e656665df438178bfd39ce75e321f191f'/>
<id>urn:sha1:c1f0498e656665df438178bfd39ce75e321f191f</id>
<content type='text'>
The only differences between these implementations are that Unix uses
relaxed ordering, but Hermit uses acquire/release, and Unix truncates
`argv` at the first null pointer, but Hermit doesn't. Since Hermit aims
for Unix compatibility, unify it with Unix.
</content>
</entry>
<entry>
<title>Unify owned Args types between platforms</title>
<updated>2025-04-12T12:11:27+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-12T11:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bea202253ec03e2fdc4c97915a24ebe530277edf'/>
<id>urn:sha1:bea202253ec03e2fdc4c97915a24ebe530277edf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use unsupported args for espidf and vita</title>
<updated>2025-04-12T11:38:20+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-12T09:37:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e014fd6b872edd1af42b00d33a963632107618f9'/>
<id>urn:sha1:e014fd6b872edd1af42b00d33a963632107618f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move args into std::sys</title>
<updated>2025-04-12T10:10:21+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-12T09:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ffebb65d6daf4fcc82cfc7fd14397bff98df1f2'/>
<id>urn:sha1:6ffebb65d6daf4fcc82cfc7fd14397bff98df1f2</id>
<content type='text'>
</content>
</entry>
</feed>
