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

Split out wasm32_unknown_unknown_js feature #2130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Protryon
Copy link

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.

@briansmith
Copy link
Owner

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

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