Describe the bug
Calling std::time::Instant::now() crashes unconditionally on WASM. retry.rs uses tokio::time::sleep() in the retry case, so you may think things are working but see intermittent crashes.
To Reproduce
Any http request that is retried in WASM should display the problem.
Expected behavior
No crash.
Additional context
See for example https://github.com/apache/arrow-rs-object-store/blob/main/src/client/retry.rs#L389
Describe the bug
Calling
std::time::Instant::now()crashes unconditionally on WASM. retry.rs uses tokio::time::sleep() in the retry case, so you may think things are working but see intermittent crashes.To Reproduce
Any http request that is retried in WASM should display the problem.
Expected behavior
No crash.
Additional context
See for example https://github.com/apache/arrow-rs-object-store/blob/main/src/client/retry.rs#L389