aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-04-24 18:42:28 +0200
committerLuuk de Gram <luuk@degram.dev>2023-04-26 16:28:41 +0200
commit0e3303ccd9985f4336ccde779b2f1b90f130d7a2 (patch)
treee7d7b2b23b7ec892a28c9c91cda2e3efc0024f54 /lib/std
parentb19c258f045aa1653b4e38ba2ff96302d914eea2 (diff)
downloadzig-0e3303ccd9985f4336ccde779b2f1b90f130d7a2.tar.gz
zig-0e3303ccd9985f4336ccde779b2f1b90f130d7a2.zip
wasm: implement `@fence`
Uses the `atomic.fence` instruction for multi-thread-enabled builds where the `atomics` feature is enabled for the wasm32 target. In all other cases, this lowers to a nop.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions