Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provides a way to avoid havind this error: only C-Style enums allowed with #[wasm_bindgen] ```rust \#[wasm_bindgen] pub enum Operation { INCREMENT, #[cfg(not(target_arch = "wasm32"))] #[wasm_bindgen(skip)] CUSTOM(fn(i32) -> i32), } ```
- Loading branch information