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

wasm: Depend on wasm-bindgen 0.2.89 or higher #497

Merged

Conversation

workingjubilee
Copy link
Contributor

@workingjubilee workingjubilee commented Aug 24, 2024

wasm-bindgen 0.2.62 is not compatible with a wasm ABI change that rustc wishes to enable by default for wasm32-unknown-unknown, currently gated behind passing the -Zwasm-c-abi flag to rustc.

wasm-bindgen 0.2.89 should exhibit seamless behavior before and after the ABI change to match the C ABI, so depend on that.

For more information, see

wasm-bindgen 0.2.62 is not compatible with a wasm ABI change that
rustc wishes to enable by default for wasm32-unknown-unknown,
currently gated behind passing the -Zwasm-c-abi flag to rustc.

wasm-bindgen 0.2.89 should exhibit seamless behavior before and
after the ABI change to match the C ABI, so depend on that.
Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this change will have any meaningful impact. Dependency versions are selected by downstream users, so if they keep an up-to-date version of getradom, they are likely using the latest version of wasm-bindgen as well. But I guess it's fine to merge this PR to future-proof ourselves.

@newpavlov newpavlov merged commit aa13fa5 into rust-random:master Aug 26, 2024
52 checks passed
@workingjubilee workingjubilee deleted the dep-wasm-bindgen-0.2.89 branch August 26, 2024 05:54
@workingjubilee
Copy link
Contributor Author

ime it's not uncommon (or at least, I do it) to bump things more selectively in one's direct dependencies and allowing cascades.

but yeah it's possible this has no effect, it's partly an experiment to see if it does.

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.

2 participants