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
When trying to use reqwest, I'm seeing an issue where dependencies for a wasm32 target are missing from the generated BUILD file. As a result, when building for wasm I get errors related to missing dependencies, e.g. js-sys.
If you look at the BUILD, you'll see it has one set of dependencies from the crate's config: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] but is missing the wasm32 specific ones in [target.'cfg(target_arch = "wasm32")'.dependencies]
The text was updated successfully, but these errors were encountered:
When trying to use
reqwest
, I'm seeing an issue where dependencies for awasm32
target are missing from the generatedBUILD
file. As a result, when building for wasm I get errors related to missing dependencies, e.g.js-sys
.Example BUILD
Cargo.toml
If you look at the BUILD, you'll see it has one set of dependencies from the crate's config:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
but is missing thewasm32
specific ones in[target.'cfg(target_arch = "wasm32")'.dependencies]
The text was updated successfully, but these errors were encountered: