diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-11-29 03:41:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 03:41:16 +0000 |
commit | 055818a5f4f678e8a075604d990d60e6a99f08d8 (patch) | |
tree | 679be22f4cdb6c9775b2da67551bca55c61900bc /src/sys/mman.rs | |
parent | b91bce3113c79728e84b1a24a565b5cac6333f52 (diff) | |
parent | 09bddc36769b4be38b6ce567c3352e2934204771 (diff) | |
download | nix-055818a5f4f678e8a075604d990d60e6a99f08d8.zip |
Merge #1599
1599: Avoid lock poisoning by using parking_lot r=asomers a=rtzoeller
The synchronization primitives in the standard library are not panic-safe, however the `parking_lot` crate provides drop-in replacement primitives which are.
Add the `parking_lot` crate as a dev dependency and update the tests to use it. This should make it easier to narrow down which test(s) in a group of tests are actually failing, since the entire group will no longer fail due to poisoning.
Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
Diffstat (limited to 'src/sys/mman.rs')
0 files changed, 0 insertions, 0 deletions