]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Auto merge of #77611 - oli-obk:atomic_miri_leakage, r=nagisa
authorbors <bors@rust-lang.org>
Wed, 9 Dec 2020 19:53:23 +0000 (19:53 +0000)
committerbors <bors@rust-lang.org>
Wed, 9 Dec 2020 19:53:23 +0000 (19:53 +0000)
commitf0f68778f798d6d34649745b41770829b17ba5b8
treed82c4fc6b90775fa56761ed5538afa4fe471df6a
parentc16d52db7778fba1c8b6c07b06510cfd6c32ae4f
parent41f988e6ae5b44a2ca742c39fe5551b700379762
Auto merge of #77611 - oli-obk:atomic_miri_leakage, r=nagisa

Directly use raw pointers in `AtomicPtr` store/load

I was unable to find any reason for this limitation in the latest source of LLVM or in the documentation [here](http://llvm.org/docs/Atomics.html#libcalls-atomic).

fixes https://github.com/rust-lang/miri/issues/1574
compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs