H-Plus-Time commented on PR #7226:
URL: https://github.com/apache/arrow-rs/pull/7226#issuecomment-2701436625

   Just an FYI on this one, especially with the 0.12.0 release imminent: 
anything that uses the `RetryExt` (all the remote ObjectStore implementations, 
including `http::client::Client`) will trigger a panic on the first request in 
wasm32-unknown-unknown and emscripten (effectively neutering `http_connector`). 
The following avoids this:
   ```
   // Cargo.toml
   [target.'cfg(target_arch = "wasm32")'.dependencies]
   web-time = { version = "1.1.0" }
   ```
   ```
   // src/client/retry.rs
   #[cfg(not(target_arch = "wasm32"))]
   use std::time::{Duration, Instant};
   #[cfg(target_arch = "wasm32")]
   use web_time::{Duration, Instant};
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to