<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/process, 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-09-19T11:55:03+00:00</updated>
<entry>
<title>Fix test suite in iOS/tvOS/watchOS/visionOS simulator</title>
<updated>2025-09-19T11:55:03+00:00</updated>
<author>
<name>Mads Marquart</name>
<email>mads@marquart.dk</email>
</author>
<published>2025-09-19T07:17:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37be93497e5318fee712dabb70631f9676f07701'/>
<id>urn:sha1:37be93497e5318fee712dabb70631f9676f07701</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Apply deprecated_safe_2024</title>
<updated>2025-02-13T21:10:28+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-13T20:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ef20a1b1f8c6dcbeb05da86634ca4516677a31b0'/>
<id>urn:sha1:ef20a1b1f8c6dcbeb05da86634ca4516677a31b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #135696 - joboet:move_pal_io, r=Noratrieb</title>
<updated>2025-02-08T20:37:24+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-08T20:37:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=02b8bea0849f982a480d80487b376204f658942b'/>
<id>urn:sha1:02b8bea0849f982a480d80487b376204f658942b</id>
<content type='text'>
std: move `io` module out of `pal`, get rid of `sys_common::io`

Part of #117276.

This does two related things:
1. It moves the platform-specific definitions for `IoSlice`, `IoSliceMut` and `is_terminal` out of `pal` and into `sys` and unifies some of them.
2. It gets rid of `sys_common::io`, moving the non-platform-specific test helpers into `std::test_helpers` and the buffer size definition to the new `sys::io` module.
</content>
</entry>
<entry>
<title>std: get rid of `sys_common::io`</title>
<updated>2025-02-07T15:54:07+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-01-18T18:12:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7433ba62b10126b0ae8b78d711f19402db663101'/>
<id>urn:sha1:7433ba62b10126b0ae8b78d711f19402db663101</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move two windows process tests to tests/ui</title>
<updated>2025-02-07T10:43:50+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2025-02-07T09:45:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=630727006f99b0773dbb1e7266e8bbc0cee97d40'/>
<id>urn:sha1:630727006f99b0773dbb1e7266e8bbc0cee97d40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`</title>
<updated>2025-02-06T09:18:00+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-02-06T08:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c5f025c18c0b77a2218d5eefbb915b4f7936382'/>
<id>urn:sha1:9c5f025c18c0b77a2218d5eefbb915b4f7936382</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Abstract `ProcThreadAttributeList` into its own struct</title>
<updated>2024-11-30T09:17:59+00:00</updated>
<author>
<name>Michael van Straten</name>
<email>michael@vanstraten.de</email>
</author>
<published>2024-04-07T19:08:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f371952cdeee32ce8fb3e859e5a1fd05a1e750aa'/>
<id>urn:sha1:f371952cdeee32ce8fb3e859e5a1fd05a1e750aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[musl] use posix_spawn if a directory change was requested</title>
<updated>2024-10-24T05:11:55+00:00</updated>
<author>
<name>Rain</name>
<email>rain@sunshowers.io</email>
</author>
<published>2024-10-17T19:38:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f74c894b0e31f370b5321d94f2ca2830e1d30fd'/>
<id>urn:sha1:7f74c894b0e31f370b5321d94f2ca2830e1d30fd</id>
<content type='text'>
Currently, not all libcs have the `posix_spawn_file_actions_addchdir_np` symbol
available to them. So we attempt to do a weak symbol lookup for that function.
But that only works if libc is a dynamic library -- with statically linked musl
binaries the symbol lookup would never work, so we would never be able to use it
even if the musl in use supported the symbol.

Now that Rust has a minimum musl version of 1.2.3, all supported musl versions
now include this symbol, so we can unconditionally expect it to be there. This
symbol was added to libc in https://github.com/rust-lang/libc/pull/3949 -- use
it here.

I couldn't find any tests for whether the posix_spawn path is used, but I've
verified with cargo-nextest that this change works. This is a substantial
improvement to nextest's performance with musl. On my workstation with a Ryzen
7950x, against https://github.com/clap-rs/clap at
61f5ee514f8f60ed8f04c6494bdf36c19e7a8126:

Before:

```
     Summary [   1.071s] 879 tests run: 879 passed, 0 skipped
```

After:

```
     Summary [   0.392s] 879 tests run: 879 passed, 0 skipped
```

Fixes #99740.
</content>
</entry>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</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>
</feed>
