<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std, 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-09-08T21:25:58+00:00</updated>
<entry>
<title>Rust build fails on OpenBSD after using file_lock feature</title>
<updated>2025-09-08T21:25:58+00:00</updated>
<author>
<name>Sebastien Marie</name>
<email>semarie@kapouay.eu.org</email>
</author>
<published>2025-08-16T18:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cb17fe8897b92d5f3ea9ad02ac8a48104cc150e'/>
<id>urn:sha1:9cb17fe8897b92d5f3ea9ad02ac8a48104cc150e</id>
<content type='text'>
PR 130999 added the file_lock feature, but doesn't included OpenBSD in the supported targets (Tier 3 platform), leading to a compilation error ("try_lock() not supported").

(cherry picked from commit 8792010768cff60d202b3608e6918be3199aeae2)
</content>
</entry>
<entry>
<title>replace version placeholder</title>
<updated>2025-08-04T09:52:21+00:00</updated>
<author>
<name>Boxy</name>
<email>rust@boxyuwu.dev</email>
</author>
<published>2025-08-04T09:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c822d038a785fa95124305ee154e88d314b78e7'/>
<id>urn:sha1:3c822d038a785fa95124305ee154e88d314b78e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `std`'s dependency on `compiler-builtins`</title>
<updated>2025-07-31T22:47:24+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-07-30T14:13:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42bf044ce83a060bfb16694ff49dc92784abf0a0'/>
<id>urn:sha1:42bf044ce83a060bfb16694ff49dc92784abf0a0</id>
<content type='text'>
`compiler-builtins` is already in the crate graph via `alloc`, and all
features related to `compiler-builtins` goes through `alloc`. There
isn't any reason that `std` needs this direct dependency, so remove it.
</content>
</entry>
<entry>
<title>uefi: Use slice equality rather than `memcmp`</title>
<updated>2025-07-31T22:47:24+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-07-31T19:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8d0b92acbff06a46519e012c6a171d0554e0d8ef'/>
<id>urn:sha1:8d0b92acbff06a46519e012c6a171d0554e0d8ef</id>
<content type='text'>
`compiler_builtins` shouldn't be called directly. Change the `PartialEq`
implementation for `DevicePathNode` to use slice equality instead, which
will call `memcmp`/`bcmp` via the intrinsic.
</content>
</entry>
<entry>
<title>Rollup merge of #144500 - joboet:thread-name-stack-overflow, r=ChrisDenton</title>
<updated>2025-07-29T10:19:51+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-07-29T10:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4bfbd80babd7186598afae348023580c06a28109'/>
<id>urn:sha1:4bfbd80babd7186598afae348023580c06a28109</id>
<content type='text'>
thread name in stack overflow message

Fixes rust-lang/rust#144481, which is caused by the thread name not being initialised yet when setting up the stack overflow information. Unfortunately, the stack overflow UI test did not test for the correct thread name being present, and testing this separately didn't occur to me when writing https://github.com/rust-lang/rust/pull/140628.

This PR contains the smallest possible fix I could think of: passing the thread name explicitly to the platform thread creation function. In the future I'd very much like to explore some possibilities around merging the thread packet and thread handle into one structure and using that in the platform code instead – but that's best left for another PR.

This PR also amends the stack overflow test to check for thread names, so we don't run into this again.

``@rustbot`` label +beta-nominated
</content>
</entry>
<entry>
<title>Rollup merge of #144022 - connortsui20:sync_nonpoison, r=tgross35</title>
<updated>2025-07-29T10:19:48+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-07-29T10:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4bc1b98e15a1279e79f91eb5188a52bddb117147'/>
<id>urn:sha1:4bc1b98e15a1279e79f91eb5188a52bddb117147</id>
<content type='text'>
Implementation: `#[feature(sync_nonpoison)]`, `#[feature(nonpoison_mutex)]`

Continuation of https://github.com/rust-lang/rust/pull/134663

Tracking Issue: https://github.com/rust-lang/rust/issues/134645

This PR implements a new `sync/nonpoison` module, as well as the `nonpoison` variant of the `Mutex` lock.

There are 2 main changes here, the first is the new `nonpoison::mutex` module, and the second is the `mutex` integration tests.

For the `nonpoison::mutex` module, I did my best to align it with the current state of the `poison::mutex` module. This means that several unstable features (`mapped_lock_guards`, `lock_value_accessors`, and `mutex_data_ptr`) are also in the new `nonpoison::mutex` module, under their respective feature gates. Everything else in that file is under the correct feature gate (`#[unstable(feature = "nonpoison_mutex", issue = "134645")]`).

Everything in the `nonpoison::mutex` file is essentially identical in spirit, as we are simply removing the error case from the original `poison::mutex`.

The second big change is in the integration tests. I created a macro called that allows us to duplicate tests that are "generic" over the different mutex types, in that the poison mutex is always `unwrap`ped.

~~I think that there is an argument against doing this, as it can make the tests a bit harder to understand (and language server capabilities are weaker within macros), but I think the benefit of code deduplication here is worth it. Note that it is definitely possible to generalize this (with a few tweaks) to testing the other `nonpoison` locks when they eventually get implemented, but I'll leave that for a later discussion.~~
</content>
</entry>
<entry>
<title>add extra drop, panic, and unwind tests</title>
<updated>2025-07-29T08:44:36+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-29T08:44:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d073d297b65f8cc0c8b75249b74c7df5a3dc18bc'/>
<id>urn:sha1:d073d297b65f8cc0c8b75249b74c7df5a3dc18bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add nonpoison and poison mutex tests</title>
<updated>2025-07-29T08:36:26+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-23T12:09:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3eb722e655670cc204aee5e3b4f0a9b9f29a8cd0'/>
<id>urn:sha1:3eb722e655670cc204aee5e3b4f0a9b9f29a8cd0</id>
<content type='text'>
Adds tests for the `nonpoison::Mutex` variant by using a macro to
duplicate the existing `poison` tests.

Note that all of the tests here are adapted from the existing `poison`
tests.
</content>
</entry>
<entry>
<title>reorder mutex tests</title>
<updated>2025-07-29T08:33:05+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-23T12:04:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f34fb05923ab4c8bff48bf5d52ca08c5b8e2233a'/>
<id>urn:sha1:f34fb05923ab4c8bff48bf5d52ca08c5b8e2233a</id>
<content type='text'>
This commit simply helps discern the actual changes needed to test both
poison and nonpoison locks.
</content>
</entry>
<entry>
<title>add `nonpoison::mutex` implementation</title>
<updated>2025-07-29T08:32:15+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-23T11:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3bdc228c103d72a61d9639d6fd0dd5c1566ec37f'/>
<id>urn:sha1:3bdc228c103d72a61d9639d6fd0dd5c1566ec37f</id>
<content type='text'>
Adds the equivalent `nonpoison` types to the `poison::mutex` module.
These types and implementations are gated under the `nonpoison_mutex`
feature gate.

Also blesses the ui tests that now have a name conflicts (because these
types no longer have unique names). The full path distinguishes the
different types.

Co-authored-by: Aandreba &lt;aandreba@gmail.com&gt;
Co-authored-by: Trevor Gross &lt;tmgross@umich.edu&gt;
</content>
</entry>
</feed>
