Skip to content

#[wasm_bindgen_test]: Add an #[allow(dead_code)] to the original function #4437

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

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

Conversation

its-the-shrimp
Copy link

I've been working on a PR for Yew, and our clippy tests were failing because wasm-bindgen-test would leave the test function unused if the compilation target wasn't Wasm. This PR attempts to address that with a simple fix.

@its-the-shrimp
Copy link
Author

How do I fix CI here? I'm not sure what I did wrong...

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

Successfully merging this pull request may close these issues.

1 participant