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

Revert coverage feature in wasm-bindgen-macro #4306

Closed
wants to merge 2 commits into from

Conversation

daxpedda
Copy link
Collaborator

@daxpedda daxpedda commented Nov 30, 2024

wasm-bindgen always enabled the coverage crate feature of wasm-bindgen-macro if the root crate is edition 2018.

Apparently [target.'cfg(some_flag)'.dependencies] is always triggered regardless of if the flag is set or not when the root crate is edition 2018. A very strange interaction.

This PR partly reverts #4284, so now test coverage requires the hack again to pass cfg flags to proc macros.

Fixes #4304.

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.

wasm-bindgen no longer works with feature resolver version 1
1 participant