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

Fix "could not find wasm in http_client" error #353

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wishawa
Copy link

@wishawa wishawa commented Nov 26, 2022

The compilation conditions for wasm in http-client and in surf are currently different. This difference causes surf to sometimes (usually when running cargo check) try to re-export a module that doesn't exist, leading to the error "could not find wasm in http_client".

This PR changes to condition in surf to be the same as that in http-client.

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

Successfully merging this pull request may close these issues.

1 participant