Skip to content

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

Merged
daxpedda merged 1 commit intowasm-bindgen:mainfrom
daxpedda:wbg-rt-nono
Nov 30, 2024
Merged

Only use wasm_bindgen::__rt in proc-macros#4305
daxpedda merged 1 commit intowasm-bindgen:mainfrom
daxpedda:wbg-rt-nono

Conversation

@daxpedda
Copy link
Copy Markdown
Member

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 wasm-bindgen:main Nov 30, 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.

wasm-bindgen’s std feature is non-additive, breaking some build configurations

1 participant