diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-10-10 20:20:14 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2020-12-08 22:57:57 +0100 |
| commit | 67c18fdec59cf313818b8606c3847a8af6bcf684 (patch) | |
| tree | 283449abe305d1eb37410871e507cd1c0fcdcf04 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 8fe90966e19a4c3b6d05484d5368e5f9b444eb8b (diff) | |
| download | rust-67c18fdec59cf313818b8606c3847a8af6bcf684.tar.gz rust-67c18fdec59cf313818b8606c3847a8af6bcf684.zip | |
Use Pin for the 'don't move' requirement of ReentrantMutex.
The code in io::stdio before this change misused the ReentrantMutexes, by calling init() on them and moving them afterwards. Now that ReentrantMutex requires Pin for init(), this mistake is no longer easy to make.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
