Skip to content

Ignore dependency's wasm_bindgen annotations #2790

Answered by alexcrichton
kev1n-peters asked this question in Q&A
Discussion options

You must be logged in to vote

Currently there is no way to ignore the annotations in a dependency, the dependency would need to ffer something like a compile-time feature with #[cfg_attr(feature = "the_feature", wasm_bindgen)] gates or similar.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kev1n-peters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants