rust/library/std/src
Stuart Cook eda6dc9283
Rollup merge of #144651 - connortsui20:nonpoison_condvar, r=joboet
Implementation: `#[feature(nonpoison_condvar)]`

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

This PR continues the effort made in https://github.com/rust-lang/rust/pull/144022 by adding the implementation of `nonpoison::condvar`.

Many of the changes here are similar to the changes made to implement `nonpoison::mutex`.

There are two other changes here. The first is that the `Barrier` implementation is migrated to use the `nonpoison::Condvar` instead of the `poison` variant. The second (which might be subject to some discussion) is that `WaitTimeoutResult` is moved up to `mod.rs`, as both `condvar` variants need that type (and I do not know if there is a better place to put it now).

### Related PRs

- `nonpoison_rwlock` implementation: https://github.com/rust-lang/rust/pull/144648
- `nonpoison_once` implementation: https://github.com/rust-lang/rust/pull/144653
2025-08-30 20:29:06 +10:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
ffi stabilize const pathbuf osstring new 2025-08-15 16:36:06 +00:00
fs Test(fs): Fix test_eq_windows_file_type for Windows 7 2025-05-28 12:06:25 +02:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
net Set MSG_NOSIGNAL for UnixSteam 2025-06-16 09:15:17 +02:00
num Revert "Rollup merge of #143906 - LorrensP-2158466:miri-float-nondet-foreign-items, r=RalfJung" 2025-08-08 19:16:48 +02:00
os Rollup merge of #145335 - clarfonthey:wtf8-core-alloc, r=Mark-Simulacrum 2025-08-27 07:45:56 +02:00
prelude Make derive_const usable within libcore again 2025-07-17 15:42:54 +00:00
process std: Apply deprecated_safe_2024 2025-02-13 13:10:28 -08:00
sync Rollup merge of #144651 - connortsui20:nonpoison_condvar, r=joboet 2025-08-30 20:29:06 +10:00
sys Rollup merge of #146017 - maurer:pipe2, r=Mark-Simulacrum 2025-08-29 19:33:05 -05:00
sys_common Move WTF-8 code from std to core/alloc 2025-08-20 20:31:33 -04:00
thread Tweak wording again 2025-08-19 19:05:19 -04:00
alloc.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
fs.rs Rollup merge of #143462 - Rudxain:read_to_string_usize, r=joboet 2025-08-30 20:29:05 +10:00
keyword_docs.rs unsafe keyword docs: emphasize that an unsafe fn in a trait does not get to choose its safety contract 2025-06-06 22:34:10 +02:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Rollup merge of #145756 - okaneco:stabilize_char_boundary, r=scottmcm 2025-08-29 19:33:03 -05:00
macros.rs feat: implement hash_map! macro 2025-08-02 01:32:52 +02:00
panic.rs Link to payload_as_str() from payload(). 2025-08-12 12:50:48 +02:00
panicking.rs Rollup merge of #144903 - Kivooeo:panic_handler-is-not-begin, r=m-ou-se 2025-08-07 19:36:36 -05:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
process.rs Rollup merge of #141019 - ehuss:android-doctest-xcompile, r=Mark-Simulacrum 2025-05-23 13:34:18 +02:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
rt.rs deduplicate abort implementations 2025-05-15 11:20:13 +02:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00