<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/pal/teeos, branch cargo_update</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=cargo_update</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=cargo_update'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-10T13:26:17+00:00</updated>
<entry>
<title>std: move `thread` into `sys`</title>
<updated>2025-09-10T13:26:17+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-08-09T17:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad08577a503dfd03e308bd272e76d95e31c6d0ef'/>
<id>urn:sha1:ad08577a503dfd03e308bd272e76d95e31c6d0ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: move `thread` into `sys` (rename only)</title>
<updated>2025-09-08T15:02:25+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-08-29T16:01:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b15dd5a84742f9e7641b62e490765e0c1cb415c'/>
<id>urn:sha1:4b15dd5a84742f9e7641b62e490765e0c1cb415c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove deprecated Error::description in impls</title>
<updated>2025-08-26T06:36:53+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-08-23T19:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=845311a065a5638c516ed96c73b09862b176b329'/>
<id>urn:sha1:845311a065a5638c516ed96c73b09862b176b329</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Print thread ID in panic message if thread name is unknown</title>
<updated>2025-08-06T23:59:47+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2023-09-11T04:59:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=289fe36d373c5a13fa7f1b93f39ff88425ab2351'/>
<id>urn:sha1:289fe36d373c5a13fa7f1b93f39ff88425ab2351</id>
<content type='text'>
`panic!` does not print any identifying information for threads that are
unnamed. However, in many cases, the thread ID can be determined.

This changes the panic message from something like this:

    thread '&lt;unnamed&gt;' panicked at src/main.rs:3:5:
    explicit panic

To something like this:

    thread '&lt;unnamed&gt;' (0xff9bf) panicked at src/main.rs:3:5:
    explicit panic

Stack overflow messages are updated as well.

This change applies to both named and unnamed threads. The ID printed is
the OS integer thread ID rather than the Rust thread ID, which should
also be what debuggers print.
</content>
</entry>
<entry>
<title>thread name in stack overflow message</title>
<updated>2025-07-28T16:09:35+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-07-26T12:29:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73751a04910d08052bf6b825f8829cacba86c648'/>
<id>urn:sha1:73751a04910d08052bf6b825f8829cacba86c648</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sleep_until: use clock_nanosleep where possible</title>
<updated>2025-07-06T15:36:49+00:00</updated>
<author>
<name>dvdsk</name>
<email>noreply@davidsk.dev</email>
</author>
<published>2025-05-31T13:33:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f24ee2c9b15dc3734e9ebd74ba0563a1e6c545db'/>
<id>urn:sha1:f24ee2c9b15dc3734e9ebd74ba0563a1e6c545db</id>
<content type='text'>
Using clock nanosleep leads to more accurate sleep times on platforms
where it is supported.

To enable using clock_nanosleep this makes `sleep_until` platform
specific. That unfortunatly requires identical placeholder
implementations for the other platforms (windows/mac/wasm etc).

we will land platform specific implementations for those later. See the
`sleep_until` tracking issue.

This requires an accessors for the Instant type. As that accessor is only
used on the platforms that have clock_nanosleep it is marked as allow_unused.

32bit time_t targets do not use clock_nanosleep atm, they instead rely
on the same placeholder as the other platforms. We could make them
use clock_nanosleep too in the future using `__clock_nanosleep_time64`.

__clock_nanosleep_time64 is documented at:
https://www.gnu.org/software/libc/manual/html_node/64_002dbit-time-symbol-handling.html
</content>
</entry>
<entry>
<title>Move `sys::pal::os::Env` into `sys::env`</title>
<updated>2025-04-22T03:56:43+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-22T03:56:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90fe2805df75b9d46b985346f0dff2690c285330'/>
<id>urn:sha1:90fe2805df75b9d46b985346f0dff2690c285330</id>
<content type='text'>
Although `Env` (as `Vars`), `Args`, path functions, and OS constants are
publicly exposed via `std::env`, their implementations are each
self-contained. Keep them separate in `std::sys` and make a new module,
`sys::env`, for `Env`.
</content>
</entry>
<entry>
<title>Combine env consts into std::sys::env_consts</title>
<updated>2025-04-19T02:17:08+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-04-15T12:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37712cc01604633fec6aac9bc720210207fa4b54'/>
<id>urn:sha1:37712cc01604633fec6aac9bc720210207fa4b54</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>
<entry>
<title>std: move process implementations to `sys`</title>
<updated>2025-03-22T11:42:34+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-02-12T15:26:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=89f85cbfa7e508e55f2f05c00356b6d430c55c4e'/>
<id>urn:sha1:89f85cbfa7e508e55f2f05c00356b6d430c55c4e</id>
<content type='text'>
As per #117276, this moves the implementations of `Process` and friends out of the `pal` module and into the `sys` module, removing quite a lot of error-prone `#[path]` imports in the process (hah, get it ;-)). I've also made the `zircon` module a dedicated submodule of `pal::unix`, hopefully we can move some other definitions there as well (they are currently quite a lot of duplications in `sys`). Also, the `ensure_no_nuls` function on Windows now lives in `sys::pal::windows` – it's not specific to processes and shared by the argument implementation.
</content>
</entry>
</feed>
