rust/src/libcore/sync
Dylan DPC 3b41e54799
Rollup merge of #73036 - alexcrichton:update-wasm-fence, r=Mark-Simulacrum
std: Enable atomic.fence emission on wasm32

This commit removes the `#[cfg]` guards in `atomic::fence` on wasm
targets. Since these guards were originally added the upstream wasm
specification for threads gained an `atomic.fence` instruction, so LLVM
no longer panics on these intrinsics.

Although there aren't a ton of tests in-repo for this right now I've
tested locally and all of these fences generate `atomic.fence`
instructions in wasm.

Closes #65687
Closes #72997
2020-06-12 00:05:27 +02:00
..
atomic.rs Rollup merge of #73036 - alexcrichton:update-wasm-fence, r=Mark-Simulacrum 2020-06-12 00:05:27 +02:00
mod.rs Remove licenses 2018-12-25 21:08:33 -07:00