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

Limit scope of allow(coherence_leak_check) #4339

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

daxpedda
Copy link
Collaborator

@daxpedda daxpedda commented Dec 8, 2024

wasm-bindgen had a top-level allow(coherence_leak_check). This PR moves it to only cover the lines needed. I briefly attempted to figure out a way to properly fix this, but it doesn't seem possible right now, see rust-lang/rust#56105 (comment).

To fix this properly it might require something like negative impls.

@daxpedda daxpedda force-pushed the allow-coherence-check branch from d684098 to e119855 Compare December 8, 2024 08:23
@daxpedda daxpedda force-pushed the allow-coherence-check branch from e119855 to 100533c Compare December 8, 2024 08:25
@daxpedda daxpedda marked this pull request as ready for review December 8, 2024 08:29
@daxpedda daxpedda merged commit 54f97c9 into rustwasm:main Dec 8, 2024
55 checks passed
@daxpedda daxpedda changed the title Whats up with coherence_leak_check? Limit scope of allow(coherence_leak_check) Dec 8, 2024
@daxpedda daxpedda changed the title Limit scope of allow(coherence_leak_check) Limit scope of allow(coherence_leak_check) Dec 8, 2024
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