diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2020-06-05 10:14:53 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2020-06-05 10:14:53 -0700 |
| commit | 05b2d3f7dc623fc5304fa0edc9efeaf08ea1db26 (patch) | |
| tree | d47e19a25f5736cc4f6941a883c8f64a6b15b455 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 219380d840877de97b0e17674be7212ebc929d51 (diff) | |
| download | rust-05b2d3f7dc623fc5304fa0edc9efeaf08ea1db26.tar.gz rust-05b2d3f7dc623fc5304fa0edc9efeaf08ea1db26.zip | |
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 #72997
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
