diff options
| author | bors <bors@rust-lang.org> | 2024-10-14 20:47:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-14 20:47:13 +0000 |
| commit | b7c06b40e18ea99429b3468f67d5421aa311924a (patch) | |
| tree | 3806a194b5cd2165467df468e30787ba4fe572c8 /compiler/rustc_codegen_llvm/src | |
| parent | 2b020bf2ccd03d02bb52b51ac6f4ddd76275c9a1 (diff) | |
| parent | a802fd9c11f98c660b15bac6cec114066c786ff2 (diff) | |
| download | rust-b7c06b40e18ea99429b3468f67d5421aa311924a.tar.gz rust-b7c06b40e18ea99429b3468f67d5421aa311924a.zip | |
Auto merge of #3973 - RalfJung:os-unfair-lock, r=RalfJung
ensure that a macOS os_unfair_lock that is moved while being held is not implicitly unlocked Fixes https://github.com/rust-lang/miri/issues/3859 We mark an os_unfair_lock that is moved while being held as "poisoned", which means it is not considered forever locked. That's not quite what the real implementation does, but allowing arbitrary moves-while-locked would likely expose a ton of implementation details, so hopefully this is good enough.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
