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

Only use wasm_bindgen::__rt in proc-macros #4305

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

daxpedda
Copy link
Collaborator

We should never use our own wasm_bindgen::__rt paths outside of proc-macros.

This caused breakage in js-sys and wasm-bindgen-futures when not enabling the std crate feature of wasm-bindgen but disabling their own.

Cc @kpreid.
Fixes #4303.

This caused breakage in `js-sys` and `wasm-bindgen-futures` when not enabling the `std` crate feature of `wasm-bindgen` but disabling their own.
@daxpedda daxpedda merged commit 9fab9ce into rustwasm:main Nov 30, 2024
46 checks passed
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’s std feature is non-additive, breaking some build configurations
1 participant