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

chore: restore wasm #114

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

chore: restore wasm #114

wants to merge 1 commit into from

Conversation

chris13524
Copy link
Member

@chris13524 chris13524 commented Jan 14, 2025

Re-enables support for building for wasm and fixes resulting build errors

Slack conversation

@chris13524 chris13524 self-assigned this Jan 14, 2025
// https://github.com/seanmonstar/reqwest/pull/1760
#[cfg(not(target_arch = "wasm32"))]
let req = req.timeout(Duration::from_secs(5));
req
Copy link
Member Author

@chris13524 chris13524 Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like the only hitch with building wasm; reqwest doesn't support specifying a timeout on requests.

There is a PR to implement this, but it hasn't been merged in 2 years for unknown reasons.

We can get away without this for now though, it's not a big deal.

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