about summary refs log tree commit diff
path: root/library/std/tests/sync/lazy_lock.rs
AgeCommit message (Collapse)AuthorLines
2025-08-22modify `LazyLock` poison panic messageConnor Tsui-31/+53
Fixes an issue where if the underlying `Once` panics because it is poisoned, the panic displays the wrong message. Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
2025-01-26Move std::sync unit tests to integration testsbjorn3-0/+167
This removes two minor OnceLock tests which test private methods. The rest of the tests should be more than enough to catch mistakes in those private methods. Also makes ReentrantLock::try_lock public. And finally it makes the mpmc tests actually run.