Open Veritius opened 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.
Instant::now()
NetworkPeer::new()
bevy_utils
I've yet to test WebAssembly
web-time's docs say that
Instant::now()
panics on WASM. This function is used inNetworkPeer::new()
so this would panic on WASM. The rust docs don't document this for some reason, butbevy_utils
depends on it, so I'm inclined to believe it.