about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-02-15 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-02-15 00:00:00 +0000
commit64b5b75e65f010d88175fbb98b4396ccede5c32e (patch)
tree9f05b4baccffb57af64499b48e426f3a35f185ca /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd1206f950ffb76c76e1b74a19ae33c2b7d949454 (diff)
downloadrust-64b5b75e65f010d88175fbb98b4396ccede5c32e.tar.gz
rust-64b5b75e65f010d88175fbb98b4396ccede5c32e.zip
Use !Sync std::lazy::OnceCell in usefulness checking
The `rustc_data_structures::sync::OnceCell` is thread-safe when building
a parallel compiler. This is unnecessary for the purposes of pattern
usefulness checking. Use `!Sync` `std::lazy::OnceCell` instead.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions