Skip to content

Commit

Permalink
wasm: better wasm fencing
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p authored Oct 10, 2024
1 parent 369fc5a commit 5b49efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_c/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ time_set_timer(PyObject *self, PyObject *args, PyObject *kwargs)

/* do not allow set_timer to work on WASM for now... this needs some more
* testing and fixes that are WIP on other PRs */
#ifdef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || defined(__wasi__)
return RAISE(PyExc_NotImplementedError,
"set_timer is not implemented on WASM yet");
#endif
Expand Down

0 comments on commit 5b49efb

Please sign in to comment.