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:17 +0200
committerGitHub <noreply@github.com>2020-10-16 02:10:17 +0200
commit9b8c0eb107f75cf154b814cee10113c0359fefcf (patch)
treef5e174193f2df91d0a98901333bfe9d1a4c1ec8d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentb183ef2068cf18ff43e119cfbbdafb14268dddb1 (diff)
parentb3be11efbdd274b0dfd94c720cf6e396cab98c33 (diff)
downloadrust-9b8c0eb107f75cf154b814cee10113c0359fefcf.tar.gz
rust-9b8c0eb107f75cf154b814cee10113c0359fefcf.zip
Rollup merge of #77657 - fusion-engineering-forks:cleanup-cloudabi-sync, r=dtolnay
Cleanup cloudabi mutexes and condvars

This gets rid of lots of unnecessary unsafety.

All the AtomicU32s were wrapped in UnsafeCell or UnsafeCell<MaybeUninit>, and raw pointers were used to get to the AtomicU32 inside. This change cleans that up by using AtomicU32 directly.

Also replaces a UnsafeCell<u32> by a safer Cell<u32>.

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