<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/pal/solid/mod.rs, branch 1.83.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.83.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.83.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-09-23T08:29:51+00:00</updated>
<entry>
<title>std: implement the `random` feature</title>
<updated>2024-09-23T08:29:51+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-08-15T11:28:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5c1c72572479afe98734d5f78fa862abe662c41a'/>
<id>urn:sha1:5c1c72572479afe98734d5f78fa862abe662c41a</id>
<content type='text'>
Implements the ACP https://github.com/rust-lang/libs-team/issues/393.
</content>
</entry>
<entry>
<title>std: move allocators to `sys`</title>
<updated>2024-08-27T09:58:19+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-07-23T14:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d456814842e65a153a1de67960b892897a02ed14'/>
<id>urn:sha1:d456814842e65a153a1de67960b892897a02ed14</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>kmc-solid: forbid(unsafe_op_in_unsafe_fn)</title>
<updated>2024-07-19T20:46:06+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2024-07-17T19:57:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d83da88473e72717c089a389adcea1c53d4c9f8'/>
<id>urn:sha1:1d83da88473e72717c089a389adcea1c53d4c9f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: refactor the TLS implementation</title>
<updated>2024-06-15T15:47:35+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-06-15T15:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f3facf11758af878bcfaf47fc773962dbb565024'/>
<id>urn:sha1:f3facf11758af878bcfaf47fc773962dbb565024</id>
<content type='text'>
As discovered by Mara in #110897, our TLS implementation is a total mess. In the past months, I have simplified the actual macros and their expansions, but the majority of the complexity comes from the platform-specific support code needed to create keys and register destructors. In keeping with #117276, I have therefore moved all of the `thread_local_key`/`thread_local_dtor` modules to the `thread_local` module in `sys` and merged them into a new structure, so that future porters of `std` can simply mix-and-match the existing code instead of having to copy the same (bad) implementation everywhere. The new structure should become obvious when looking at `sys/thread_local/mod.rs`.

Unfortunately, the documentation changes associated with the refactoring have made this PR rather large. That said, this contains no functional changes except for two small ones:
* the key-based destructor fallback now, by virtue of sharing the implementation used by macOS and others, stores its list in a `#[thread_local]` static instead of in the key, eliminating one indirection layer and drastically simplifying its code.
* I've switched over ZKVM (tier 3) to use the same implementation as WebAssembly, as the implementation was just a way worse version of that

Please let me know if I can make this easier to review! I know these large PRs aren't optimal, but I couldn't think of any good intermediate steps.

@rustbot label +A-thread-locals
</content>
</entry>
<entry>
<title>Factor some common `io::Error` constants</title>
<updated>2024-04-11T07:55:15+00:00</updated>
<author>
<name>Benoît du Garreau</name>
<email>bdgdlm@outlook.com</email>
</author>
<published>2024-04-10T17:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c64068ddbdb98512467f6273bda87d466b346d1'/>
<id>urn:sha1:9c64068ddbdb98512467f6273bda87d466b346d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Delete architecture-specific memchr code in std::sys</title>
<updated>2024-02-20T21:27:39+00:00</updated>
<author>
<name>Arthur Carcano</name>
<email>arthur.carcano@ocamlpro.com</email>
</author>
<published>2023-07-24T14:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=88ac7ace569c6ad8ac2b9300cdeeb0170a1f04c5'/>
<id>urn:sha1:88ac7ace569c6ad8ac2b9300cdeeb0170a1f04c5</id>
<content type='text'>
Currently all architecture-specific memchr code is only used in
`std::io`. Most of the actual `memchr` capacity exposed to the user
through the slice API is instead implemented in core::slice::memchr.

Hence this commit deletes memchr from std::sys[_common] and replace
calls to it by calls to core::slice::memchr functions. This deletes
(r)memchr from the list of symbols linked to libc.
</content>
</entry>
<entry>
<title>std: move locks to `sys` on µITRON</title>
<updated>2024-02-16T11:10:07+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-02-15T16:03:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cd21cc549229c1cd6bb544eb53e7eb98190168f'/>
<id>urn:sha1:0cd21cc549229c1cd6bb544eb53e7eb98190168f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: move path into `sys`</title>
<updated>2024-02-08T11:51:35+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-02-08T11:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0d9776562359268ccc385b55fe55db640578fe1'/>
<id>urn:sha1:c0d9776562359268ccc385b55fe55db640578fe1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: move cmath into `sys`</title>
<updated>2024-01-22T14:30:54+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-01-18T19:33:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f88e64343e4f9c9ec40c5e7c2c0bcd27ff6052bd'/>
<id>urn:sha1:f88e64343e4f9c9ec40c5e7c2c0bcd27ff6052bd</id>
<content type='text'>
</content>
</entry>
</feed>
