ring icon indicating copy to clipboard operation
ring copied to clipboard

Split out wasm32_unknown_unknown_js feature

Open Protryon opened this issue 1 year ago • 1 comments

This PR:

  • Adds a feature wasm32_unknown_unknown, which is identical to wasm32_unknown_unknown_js, except it doesn't enable the getrandom crate features.
  • This allows WASM-only environments to implement their own context-specific rand functionality and register it with getrandom.

Protryon avatar Jul 29 '24 17:07 Protryon

One of the getrandom crate's maintainers has proposed something related to this in https://github.com/rust-random/getrandom/issues/498. I think we should resolve that issue and then revisit this once the getrandom issue is resolved.

briansmith avatar Oct 04 '24 20:10 briansmith

Thanks for the PR. I'm no longer accepting PRs for this project, but I appreciate your effort.

briansmith avatar Feb 25 '25 15:02 briansmith