Skip to content

Fix dev-dependency issue on WASM #77

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Fix dev-dependency issue on WASM #77

merged 2 commits into from
Nov 13, 2023

Conversation

notgull
Copy link
Member

@notgull notgull commented Nov 13, 2023

futures-lite in the dev dependencies added a block_on call that was not present in the WASM build, causing a compile error. This PR makes sure that the std feature of futures-lite is enabled in Cargo.toml.

This also adds a CI check to ensure that this doesn't happen again.

`futures-lite` in the dev dependencies added a `block_on` call that was
not present in the WASM build, causing a compile error. This PR makes
sure that the `std` feature of `futures-lite` is enabled in Cargo.toml.

This also adds a CI check to ensure that this doesn't happen again

Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull merged commit 144b057 into master Nov 13, 2023
@notgull notgull deleted the notgull/wasm2 branch November 13, 2023 16:30
@notgull notgull mentioned this pull request Nov 18, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants