diff --git a/opentelemetry-http/src/lib.rs b/opentelemetry-http/src/lib.rs index f3e5e4f70a..bed95cd389 100644 --- a/opentelemetry-http/src/lib.rs +++ b/opentelemetry-http/src/lib.rs @@ -83,6 +83,7 @@ mod reqwest { } } + #[cfg(not(target_arch = "wasm32"))] #[async_trait] impl HttpClient for reqwest::blocking::Client { async fn send(&self, request: Request>) -> Result, HttpError> {