Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependencies for overlapping multi-arch config #463

Open
Dig-Doug opened this issue Jan 7, 2022 · 0 comments
Open

Missing dependencies for overlapping multi-arch config #463

Dig-Doug opened this issue Jan 7, 2022 · 0 comments

Comments

@Dig-Doug
Copy link

Dig-Doug commented Jan 7, 2022

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.

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 the wasm32 specific ones in [target.'cfg(target_arch = "wasm32")'.dependencies]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant