about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-02-18 15:57:27 +0900
committerGitHub <noreply@github.com>2021-02-18 15:57:27 +0900
commit9d33abdc2a1dce2f933b84fff4ea351216365ede (patch)
tree436566234f893d2a6299f22d5ac0125e8ed8735b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent0c25d154bd5b48819f490ac4a630f28fcfe4d321 (diff)
parent64b5b75e65f010d88175fbb98b4396ccede5c32e (diff)
downloadrust-9d33abdc2a1dce2f933b84fff4ea351216365ede.tar.gz
rust-9d33abdc2a1dce2f933b84fff4ea351216365ede.zip
Rollup merge of #82155 - tmiasko:once, r=matthewjasper
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