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

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

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...

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