<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/pal/hermit/mod.rs, 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-15T09:20:13+00:00</updated>
<entry>
<title>deduplicate abort implementations</title>
<updated>2025-05-15T09:20:13+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-03-29T11:16:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b7f2cd3a2b1606934018cc64bac52bb887ea892a'/>
<id>urn:sha1:b7f2cd3a2b1606934018cc64bac52bb887ea892a</id>
<content type='text'>
Currently, the code for process aborts is duplicated across `panic_abort` and `std`. This PR uses `#[rustc_std_internal_symbol]` to make the `std` implementation available to `panic_abort` via the linker, thereby deduplicating the code.
</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>Move fd into sys</title>
<updated>2025-04-05T03:11:08+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-03-25T06:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4085af01836c3af3bd7c68060274ba7a0c334261'/>
<id>urn:sha1:4085af01836c3af3bd7c68060274ba7a0c334261</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>
<entry>
<title>std: move stdio to `sys`</title>
<updated>2025-03-09T22:42:13+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-02-09T17:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c52e0596c5ef1d68bf0f283342fdb05db63248f9'/>
<id>urn:sha1:c52e0596c5ef1d68bf0f283342fdb05db63248f9</id>
<content type='text'>
As per #117276, this moves the platform definitions of `Stdout` and friends into `sys`. This PR also unifies the UNIX and Hermit implementations and moves the `__rust_print_err` function needed by libunwind on SGX into the dedicated module for such helper functions.
</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>std: Apply unsafe_attr_outside_unsafe</title>
<updated>2025-02-13T21:10:27+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-12T22:09:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e60b0e55428c5f719e6c9f725006434b6f9656d'/>
<id>urn:sha1:9e60b0e55428c5f719e6c9f725006434b6f9656d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark extern blocks as unsafe</title>
<updated>2025-02-09T17:11:13+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-07T19:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a4e7f8f9bf10588cb5519ae09a15be155499901f'/>
<id>urn:sha1:a4e7f8f9bf10588cb5519ae09a15be155499901f</id>
<content type='text'>
</content>
</entry>
</feed>
