You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recent fix #1550 added a call to reqwest::ClientBuilder::pool_max_idle_per_host(). Unfortunately this method does not exist in the reqwest wasm implementation:
error[E0599]: no method named `pool_max_idle_per_host` found for struct `ClientBuilder` in the current scope
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azure_core-0.19.0/src/http_client/reqwest.rs:18:10
|
17 | let client = ::reqwest::ClientBuilder::new()
| __________________-
18 | | .pool_max_idle_per_host(0)
| | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `ClientBuilder`
| |_________|
|
I noticed this when migrating the azure-devops-rust-api to 0.19.0 (the CI build broke). Not sure why the azure-sdk-for-rust CI build didn't fail - I believe it also does a wasm build. I guess it may not enable the enable_reqwest feature?
The fix is obviously to only include the new code for non-wasm builds.
The text was updated successfully, but these errors were encountered:
As indicated in Azure#1554, we're not catching changes that impact real-world
WASM use in CICD.
Originally, our WASM implementation was a best-effort path as reqwest
(our first-class supported HTTP backend) did not support WASM. Now that
reqwest supports WASM, we should update our CICD to validate WASM with
the default features.
As indicated in #1554, we're not catching changes that impact real-world
WASM use in CICD.
Originally, our WASM implementation was a best-effort path as reqwest
(our first-class supported HTTP backend) did not support WASM. Now that
reqwest supports WASM, we should update our CICD to validate WASM with
the default features.
A recent fix #1550 added a call to
reqwest::ClientBuilder::pool_max_idle_per_host()
. Unfortunately this method does not exist in the reqwest wasm implementation:I noticed this when migrating the azure-devops-rust-api to 0.19.0 (the CI build broke). Not sure why the azure-sdk-for-rust CI build didn't fail - I believe it also does a wasm build. I guess it may not enable the
enable_reqwest
feature?The fix is obviously to only include the new code for non-wasm builds.
The text was updated successfully, but these errors were encountered: