rust-random / getrandom

A small cross-platform library for retrieving random data from (operating) system source
Apache License 2.0
291 stars 182 forks source link

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

Closed workingjubilee closed 2 months ago

workingjubilee commented 2 months ago

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

workingjubilee commented 2 months ago

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.