Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.
@workingjubilee workingjubilee force-pushed the dep-wasm-bindgen-0.2.89 branch from 9355ef3 to 8c447ca Compare August 25, 2024 00:58
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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants