Skip to content

Commit 5a5137a

Browse files
authored
Fix WebAssembly Atomic intrinsic names (#1093)
Due to commit 902ea588eab849e7254d3bc76abf32d833ac0dd6 in the llvm-project i32.atomic.wait and i64.atomic.wait got renamed to memory.atomic.wait32 and memory.atomic.wait64.
1 parent c18b17b commit 5a5137a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_arch/src/wasm32/atomic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
use stdarch_test::assert_instr;
1313

1414
extern "C" {
15-
#[link_name = "llvm.wasm.memory.atomic.wait.i32"]
15+
#[link_name = "llvm.wasm.memory.atomic.wait32"]
1616
fn llvm_atomic_wait_i32(ptr: *mut i32, exp: i32, timeout: i64) -> i32;
17-
#[link_name = "llvm.wasm.memory.atomic.wait.i64"]
17+
#[link_name = "llvm.wasm.memory.atomic.wait64"]
1818
fn llvm_atomic_wait_i64(ptr: *mut i64, exp: i64, timeout: i64) -> i32;
1919
#[link_name = "llvm.wasm.memory.atomic.notify"]
2020
fn llvm_atomic_notify(ptr: *mut i32, cnt: i32) -> i32;

0 commit comments

Comments
 (0)