github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/integration_test/engine/testdata/threads/add.wat (about) 1 (module 2 (memory 1 1 shared) 3 4 (func (export "run32") 5 (i32.atomic.rmw.add (i32.const 0) (i32.const 1)) 6 (drop) 7 ) 8 9 (func (export "run64") 10 (i64.atomic.rmw.add (i32.const 0) (i64.const 1)) 11 (drop) 12 ) 13 14 (func (export "run32_8") 15 (i32.atomic.rmw8.add_u (i32.const 0) (i32.const 1)) 16 (drop) 17 ) 18 19 (func (export "run32_16") 20 (i32.atomic.rmw16.add_u (i32.const 0) (i32.const 1)) 21 (drop) 22 ) 23 24 (func (export "run64_8") 25 (i64.atomic.rmw8.add_u (i32.const 0) (i64.const 1)) 26 (drop) 27 ) 28 29 (func (export "run64_16") 30 (i64.atomic.rmw16.add_u (i32.const 0) (i64.const 1)) 31 (drop) 32 ) 33 34 (func (export "run64_32") 35 (i64.atomic.rmw32.add_u (i32.const 0) (i64.const 1)) 36 (drop) 37 ) 38 )