about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-16 02:10:13 +0200
committerGitHub <noreply@github.com>2020-10-16 02:10:13 +0200
commit085399f48155cff204aa913343651208131c7398 (patch)
treec6781f63cf8b0bce034dd1a5d6248e4c798e4e3d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentdcf972a2be2e122ee3e7cc86bbf4ff6751055337 (diff)
parent54a71e89546886951e32035960aa82a15a343668 (diff)
downloadrust-085399f48155cff204aa913343651208131c7398.tar.gz
rust-085399f48155cff204aa913343651208131c7398.zip
Rollup merge of #77646 - fusion-engineering-forks:use-static-mutex, r=dtolnay
For backtrace, use StaticMutex instead of a raw sys Mutex.

The code used the very unsafe `sys::mutex::Mutex` directly, and built its own unlock-on-drop wrapper around it. The StaticMutex wrapper already provides that and is easier to use safely.

@rustbot modify labels: +T-libs +C-cleanup
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions