buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
89 stars 22 forks source link

futures_timer methods in buttplug-rs will panic WASM FFI #29

Closed qdot closed 3 years ago

qdot commented 3 years ago

Trying to use devices whose protocols have futures_timer Delay calls in them will panic the WASM library, as timer methods are not directly translatable in web-sys. This may require forking wasm_timer, which works but causes symbol conflicts in web-sys due to using an older version than ours.

qdot commented 3 years ago

Fixed by updated to newer futures_timer version with WASM support.