Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Mar 22, 2024
1 parent 41e5711 commit 75a96df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/wasm/sync.wat
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
(struct.set $mutex $state (local.get $t) (i32.const 1))
(ref.i31 (i32.const 0)))

(func (export "caml_ml_try_lock") (param (ref eq)) (result (ref eq))
(func (export "caml_ml_mutex_try_lock") (param (ref eq)) (result (ref eq))
(local $t (ref $mutex))
(local.set $t (ref.cast (ref $mutex) (local.get 0)))
(if (result (ref eq)) (struct.get $mutex $state (local.get $t))
Expand Down

0 comments on commit 75a96df

Please sign in to comment.