Veritius / bevy_stardust

A flexible networking crate for Bevy.
Apache License 2.0
36 stars 0 forks source link

WebAssembly #11

Open Veritius opened 4 months ago

Veritius commented 4 months ago

I've yet to test WebAssembly

web-time's docs say that Instant::now() panics on WASM. This function is used in NetworkPeer::new() so this would panic on WASM. The rust docs don't document this for some reason, but bevy_utils depends on it, so I'm inclined to believe it.