@@ -35,6 +35,7 @@ extern "C" {
3535#[ inline]
3636#[ cfg_attr( test, assert_instr( memory. atomic. wait32) ) ]
3737#[ target_feature( enable = "atomics" ) ]
38+ #[ doc( alias( "memory.atomic.wait32" ) ) ]
3839pub unsafe fn memory_atomic_wait32 ( ptr : * mut i32 , expression : i32 , timeout_ns : i64 ) -> i32 {
3940 llvm_atomic_wait_i32 ( ptr, expression, timeout_ns)
4041}
@@ -64,6 +65,7 @@ pub unsafe fn memory_atomic_wait32(ptr: *mut i32, expression: i32, timeout_ns: i
6465#[ inline]
6566#[ cfg_attr( test, assert_instr( memory. atomic. wait64) ) ]
6667#[ target_feature( enable = "atomics" ) ]
68+ #[ doc( alias( "memory.atomic.wait64" ) ) ]
6769pub unsafe fn memory_atomic_wait64 ( ptr : * mut i64 , expression : i64 , timeout_ns : i64 ) -> i32 {
6870 llvm_atomic_wait_i64 ( ptr, expression, timeout_ns)
6971}
@@ -85,6 +87,7 @@ pub unsafe fn memory_atomic_wait64(ptr: *mut i64, expression: i64, timeout_ns: i
8587#[ inline]
8688#[ cfg_attr( test, assert_instr( memory. atomic. notify) ) ]
8789#[ target_feature( enable = "atomics" ) ]
90+ #[ doc( alias( "memory.atomic.notify" ) ) ]
8891pub unsafe fn memory_atomic_notify ( ptr : * mut i32 , waiters : u32 ) -> u32 {
8992 llvm_atomic_notify ( ptr, waiters as i32 ) as u32
9093}
0 commit comments